Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Admin #20

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Admin #20

wants to merge 3 commits into from

Conversation

zhoua0805
Copy link
Contributor

  • put 500 limit on deductions
  • add re-calculate scores route

@zhoua0805 zhoua0805 self-assigned this Sep 5, 2021
@@ -386,6 +386,12 @@ module.exports = (app) => {
errorMsg: "invalid team number, please try again"
})
return;
}else if (team.score < pointsChanged) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do we check that the points deducted are < 500?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 374, I guess I pushed that to dev directly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants