Skip to content

Commit

Permalink
Merge pull request #1729 from anyproto/go-1230-fileoffloadfilelistoff…
Browse files Browse the repository at this point in the history
…load-are-broken

GO-1230 fix FileListOffload
  • Loading branch information
requilence authored Oct 23, 2024
2 parents d845d7f + 60e9443 commit 8eea1df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ func (mw *Middleware) FileListOffload(cctx context.Context, req *pb.RpcFileListO
},
}
}
return &pb.RpcFileListOffloadResponse{}
return &pb.RpcFileListOffloadResponse{
Error: &pb.RpcFileListOffloadResponseError{
Code: pb.RpcFileListOffloadResponseError_NULL,
},
}
}

func (mw *Middleware) FileOffload(cctx context.Context, req *pb.RpcFileOffloadRequest) *pb.RpcFileOffloadResponse {
Expand Down

0 comments on commit 8eea1df

Please sign in to comment.