IEEE-VIT / enigma8-backend

Backend for Enigma 8.0

Home Page:https://enigma8-api.ieeevit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update: user/getDetails

aaryankotharii opened this issue · comments

add property nextRoomUnlocksIn : Int

value will be (user.currentRoom+1).starQuota - user.stars

If user on last room send {nextRoomUnlocksIn: -1}

I've done something similar in /allRooms route where "starsLeft" will be sent