HI, when I login my user with this endpoint: /parse/login
I’m getting bunch of data.
Now it’s possible in afterLogin trigger costumize returning data?
Parse.Cloud.afterLogin(async ({ user, original, object, triggerName }) => {
const userClass = new _user.User();
const result = await userClass.afterUserSave(
user,
original,
object,
triggerName
);
return 'test';
});
this is my trigger, and i expect that afterLogin endpoint will return test
instead of that i’m still getting bunch of user data.