Skip to content

Commit

Permalink
chore: tweak error message
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed May 25, 2024
1 parent d39cacf commit a177800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/router/api/v1/memo_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit a177800

Please sign in to comment.