Skip to content

Commit

Permalink
chore: fix some stuff hehe (#38)
Browse files Browse the repository at this point in the history
* chore(process-chunks): add retry logic for connecting to temporary queue

* chore(upload-notes): add endpoint for view authz

* chore: remove non-ready notes from view, fix created notes pagination
  • Loading branch information
ztdevelops authored Apr 27, 2024
1 parent eeaf3bd commit 759a8b6
Show file tree
Hide file tree
Showing 20 changed files with 111 additions and 5,993 deletions.
1 change: 1 addition & 0 deletions backend/complex/handle-temporary-contents/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ message RetrieveMultipleNotesByUserIdResponse {

message UpdateNoteRequest {
NotePreview notePreview = 1;
bool readyToView = 2;
}

message UpdateNoteResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ func (s *Server) CommitTemporaryContents(ctx context.Context, req *htcPb.CommitT
Title: req.Title,
Topic: req.Topic,
},
ReadyToView: true,
}

_, err = notesClient.Stub.UpdateNote(ctx, notesStubPutReq)
Expand Down
Loading

0 comments on commit 759a8b6

Please sign in to comment.