-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add coins to teams and user add/remove route #12
Conversation
@Meetesh-Saini How will we be incrementing the coins? Does solving the CTF reward the team with coins as well as leaderboard points? |
In the 1 week period, it rewards them with just coins for solving challenges |
Got it. I'll implement an optional field called |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the team's add and remove route needs to check the amount of Users in the team and other stuff, but I am not clear on the business logic for that functionality right now to specify the details myself
@mradigen get this merged asap, contact @Meetesh-Saini to merge it for you. |
The recent few commits add the following changes:
|
@mradigen ready to merge? |
This PR adds:
config.hint_penalty
)/api/team/add
route creates a user and adds them to a given team. Returns 403 if user already exists in another team./api/team/remove
route removes a user from a team. Returns 403, if user is not a part of the selected team.