Skip to content

Commit

Permalink
feat(booster): supersub booster
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed May 15, 2024
1 parent 59668f3 commit c6c2288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/Team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export const GetPointsTeamHandler = async (req: any, rep: any) => {

export const PostBoosterTeamHandler = async (req: any, rep: any) => {
const boosterUnCC = req.body.type.charAt(0).toUpperCase() + req.body.type.slice(1);
const validBoosters = ["tripleCaptain","viceVictory","hiddenGem","goalRush"];
const validBoosters = ["tripleCaptain","viceVictory","hiddenGem","goalRush","superSubs"];

if(!validBoosters.includes(req.body.type))
throw new HttpError("Invalid booster", 404)
Expand Down

0 comments on commit c6c2288

Please sign in to comment.