IEEE-VIT / enigma7-backend

Code repository for the backend of Enigma 7.0
https://enigma-api.ieeevit.org
MIT License
3 stars 0 forks source link

State of hint used isn't being updated #73

Closed ZiyanK closed 3 years ago

ZiyanK commented 3 years ago

Describe the bug if I used the hint powerup, then in the response data, hint_powerup becomes true, but hint_used is still false. The value for that should also be updated in the backend

To Reproduce Steps to reproduce the behaviour:

  1. Click on hint_powerup and make sure it's successful
  2. Look at the response being sent in the question route

Expected behaviour Should be set to true

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.