I'm calling a parse cloud code function from android app, and I need userId (objectId) to read some data about him.
The question is, how can I get the userId?
I know how to do it with params, but it's already in the request (image below).
CodePudding user response:
You can access the current logged in user id via request.user.id