Skip to content

armgit / memos

Public Imported from GitHub
0

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.

chore: tweak error message

Stevena177800e83a0
diff --git a/server/router/api/v1/memo_service.go b/server/router/api/v1/memo_service.go
index adbf4a287..6f838c241 100644
--- a/server/router/api/v1/memo_service.go
+++ b/server/router/api/v1/memo_service.go
@@ -924,7 +924,7 @@ func (s *APIV1Service) buildMemoFindWithFilter(ctx context.Context, find *store.
if user == nil {
if filter == "" {
// If no filter is provided, return an error.
- return status.Errorf(codes.InvalidArgument, "filter is required")
+ return status.Errorf(codes.InvalidArgument, "filter is required for unauthenticated user")
}
find.VisibilityList = []store.Visibility{store.Public}