upd
This commit is contained in:
1 parent
8386cd7503
commit
6b14252577
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user