Closed kieranoreilly closed 4 years ago
@kieranoreilly I'm unable to recreate this bug. On my profile, things are working fine.
me neither! Is it happened with every user for u?
I'm only seeing this with my user kieran@expand.org maybe his account's data is corrupted. I'm going to delete it all and try again
Issue went away when I reset data and retried.
@kieranoreilly @sslava I have it so if someone tries to update a profile that's not theirs, they get an unauthorized access. Meaning, if the id in the JWT token is different from the id you're trying to update, the service stops you.
https://www.loom.com/share/66351f08240f46f886a5a152f810f3d6
In the response from https://api.expand.org/v1/workers/profile I see the message
{"message":"You are not authorized!"}
@sslava @edshadi