This commit is contained in:
ykomissarov committed 2019-10-25 16:30:36 +03:00
1 parent 8386cd7503
commit 6b14252577
1 file changed
+1 -1
+1 -1
View File
@@ -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
}