From 6b14252577a4ef2ca7e71bb6529052921577aef5 Mon Sep 17 00:00:00 2001 From: ykomissarov Date: Fri, 25 Oct 2019 16:30:36 +0300 Subject: [PATCH] upd --- controller/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/schema.go b/controller/schema.go index 40a79bf..37db5fa 100644 --- a/controller/schema.go +++ b/controller/schema.go @@ -32,7 +32,7 @@ func (c *schema) GetByModuleId(request domain.GetByModuleIdRequest) (*entity.Con result = state.Schemas().GetByModuleIds([]string{request.ModuleId}) }) if len(result) == 0 { - return nil, status.Errorf(codes.NotFound, "schema with moduleId %d not found", request.ModuleId) + return nil, status.Errorf(codes.NotFound, "schema with moduleId %s not found", request.ModuleId) } return &result[0], nil }