You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there's been an ommission when implementing the /user/revive API call as discussed in #3056.
The problem is that when you call /user/revive, you indeed reset the gold to 0, the health to 50 and remove an item, without checking if the user is really dead.
It could end up in bad implementation where you might call the /user/revive API without the user actually being dead.
My opinion would be that it should send back an error if the user isn't dead, or do as it does if the user is indeed dead.
Cheers,
The text was updated successfully, but these errors were encountered:
I think there's been an ommission when implementing the /user/revive API call as discussed in #3056.
The problem is that when you call /user/revive, you indeed reset the gold to 0, the health to 50 and remove an item, without checking if the user is really dead.
It could end up in bad implementation where you might call the /user/revive API without the user actually being dead.
My opinion would be that it should send back an error if the user isn't dead, or do as it does if the user is indeed dead.
Cheers,
The text was updated successfully, but these errors were encountered: