From c6c2288b8eb9f2e00c43023b642ea69f2b7624a3 Mon Sep 17 00:00:00 2001 From: Jonas Simoen Date: Wed, 15 May 2024 22:55:13 +0200 Subject: [PATCH] feat(booster): supersub booster --- src/controllers/Team.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/Team.ts b/src/controllers/Team.ts index 37b1c4e..c6bb320 100644 --- a/src/controllers/Team.ts +++ b/src/controllers/Team.ts @@ -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)