Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: tweak filter checks
Stevenc92507728a19
diff --git a/api/v2/memo_service.go b/api/v2/memo_service.goindex e45adc933..10665f581 100644--- a/api/v2/memo_service.go+++ b/api/v2/memo_service.go@@ -793,11 +793,9 @@ func (s *APIV2Service) buildMemoFindWithFilter(ctx context.Context, find *store.if filter.RowStatus != nil {find.RowStatus = filter.RowStatus}- } else {+ } else if user == nil {// If no filter is provided, check if the user is authenticated.- if user == nil {- return status.Errorf(codes.InvalidArgument, "filter is required")- }+ return status.Errorf(codes.InvalidArgument, "filter is required")}// If the user is not authenticated, only public memos are visible.