Skip to content

Commit bf60fb6

Browse files
committed
emerging can only submit to emerging tracks
1 parent 33ee64c commit bf60fb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/expo/src/utils/validationHelpers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ export const getEligiblePrizes = async (users: any[], req: express.Request) => {
199199

200200
// A team must be 100% emerging to be eligible for emerging prizes
201201
if (numEmerging === users.length) {
202-
const emergingPrizes = prizeConfig.hexathons["HackGT 11"].emergingPrizes
203-
.concat(prizeConfig.hexathons["HackGT 11"].sponsorPrizes)
204-
.concat(prizeConfig.hexathons["HackGT 11"].generalPrizes);
202+
const emergingPrizes = prizeConfig.hexathons["HackGT 11"].emergingPrizes.concat(
203+
prizeConfig.hexathons["HackGT 11"].sponsorPrizes
204+
);
205205
const emergingDBPrizes = await prisma.category.findMany({
206206
where: {
207207
name: {

0 commit comments

Comments
 (0)