Skip to content

Commit 23c9136

Browse files
committed
Merge branch 'main' of https://github.com/HackGT/api
2 parents 3245894 + 1d50ff0 commit 23c9136

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
@@ -320,11 +320,11 @@ export const validateTeam = async (members: any[], req: express.Request) => {
320320
return "";
321321
}
322322

323-
// Checks the user's applications and if they are confirmed for the current hexathon
324-
if (userApplication.status !== "CONFIRMED") {
323+
// Checks the user's applications and if they are checked in for the current hexathon
324+
if (userApplication.status !== "CHECKED_IN") {
325325
registrationError = {
326326
error: true,
327-
message: `User: ${email} not confirmed for current ${currentHexathon.name}`,
327+
message: `User: ${email} not checked in for current ${currentHexathon.name}`,
328328
};
329329
return "";
330330
}

0 commit comments

Comments
 (0)