Skip to content

Commit ed2d810

Browse files
authored
Merge pull request #223 from HackGT/reese/notattending
Allow participant to update status from Confirmed -> Not Attending
2 parents 72ed620 + e661361 commit ed2d810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/registration/src/routes/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ applicationRouter.route("/:id/actions/update-status").post(
575575
) {
576576
updateBody.confirmationSubmitTime = new Date();
577577
} else if (
578-
existingApplication.status === StatusType.ACCEPTED &&
578+
(existingApplication.status === StatusType.ACCEPTED || existingApplication.status === StatusType.CONFIRMED) &&
579579
newStatus === StatusType.NOT_ATTENDING
580580
) {
581581
// pass

0 commit comments

Comments
 (0)