chore: remove unused route

This commit is contained in:
Steven
2024-05-08 22:15:29 +08:00
parent 4e12744811
commit e0977e53f7
5 changed files with 83 additions and 280 deletions

View File

@ -160,9 +160,6 @@ func (s *APIV1Service) GetResourceBinary(ctx context.Context, request *v1pb.GetR
}
resourceFind.ID = &id
}
if request.Uid != "" {
resourceFind.UID = &request.Uid
}
resource, err := s.Store.GetResource(ctx, resourceFind)
if err != nil {
return nil, status.Errorf(codes.Internal, "failed to get resource: %v", err)