Skip to content

Commit 4d505ad

Browse files
committed
Success message
1 parent 3a39077 commit 4d505ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/(api)/_actions/logic/matchTeams.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export default async function matchTeams() {
5151
await createSubmission(judge._id, match.team_id.toString());
5252
}
5353
}
54+
55+
return 'Successfully matched teams!';
5456
} else {
5557
return 'Failed to match teams: There may be fewer than two judge groups in one or more specialties.';
5658
}

0 commit comments

Comments
 (0)