3 Replies
Can you describe your issue? The screenshots look fine to me
in the left , act as user checkbox is checked
but if I uncheck it and try again, you can see right picture.
Right. Are you trying to figure out why that is happening? It seems like you intended that behavior based on the code
Concretely, the getUsers method checks if the request is authenticated. If it is, it returns the users. If not, if throws an Unauthorized error. And that's what you're seeing: on the left you have a successful authenticated query, and on the right you have an unauthenticated query that throws an error