Closed aaryankotharii closed 4 years ago
Good Catch ! , Will fix this sooner
I dont think that is the case, the endpoint /hint always returns the hint, regardless of whether it has been used before or not. Please confirm @aryanshridhar
@aryan9600 yes I suppose /hint
gives the hint regardless but /powerup/hint
does not.
Yes , its the case with /powerup/hint
only .
URL: https://enigma7-backend.herokuapp.com/api/v1/game/powerup/hint/
Response body:
Is your feature request related to a problem? Please describe. let say the user uses the hint on the enigmas web app. now he/she switches to the the mobile app to play and fetches the hint. the user will get the response that hint is used but won't get the hint.
Describe the solution you'd like if hint is already used for a question, send the hint is the response regardless but don't reduce xp again.
Describe alternatives you've considered N/A
Additional context N/A