Commit a177800e authored by Steven's avatar Steven

chore: tweak error message

parent d39cacf1
...@@ -924,7 +924,7 @@ func (s *APIV1Service) buildMemoFindWithFilter(ctx context.Context, find *store. ...@@ -924,7 +924,7 @@ func (s *APIV1Service) buildMemoFindWithFilter(ctx context.Context, find *store.
if user == nil { if user == nil {
if filter == "" { if filter == "" {
// If no filter is provided, return an error. // 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} find.VisibilityList = []store.Visibility{store.Public}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment