chore: fix export memos

This commit is contained in:
Steven
2024-02-04 20:20:14 +08:00
parent b8a9783db5
commit 1e07b70d23
10 changed files with 224 additions and 328 deletions

View File

@@ -85,7 +85,7 @@ service MemoService {
option (google.api.method_signature) = "id";
}
// ExportMemos exports memos.
rpc ExportMemos(ExportMemosRequest) returns (stream ExportMemosResponse) {
rpc ExportMemos(ExportMemosRequest) returns (ExportMemosResponse) {
option (google.api.http) = {post: "/api/v2/memos:export"};
}
// GetUserMemosStats gets stats of memos for a user.
@@ -281,5 +281,5 @@ message ExportMemosRequest {
}
message ExportMemosResponse {
bytes file = 1;
bytes content = 1;
}