mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove unused route
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user