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 }