update: user/getDetails
aaryankotharii opened this issue · comments
Aaryan Kothari commented
add property nextRoomUnlocksIn
: Int
value will be (user.currentRoom+1).starQuota - user.stars
Aaryan Kothari commented
If user on last room send {nextRoomUnlocksIn: -1}
Varun Murpani commented
I've done something similar in /allRooms route where "starsLeft" will be sent