Skip to content

Commit

Permalink
fix(be): fix belonged contest modal issue (#2242)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin9038 authored Nov 26, 2024
1 parent 514241c commit 209dc61
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/backend/apps/admin/src/contest/contest.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,10 +898,6 @@ export class ContestService {
}
})

if (!contestProblems.length) {
throw new EntityNotExistException('Problem or ContestProblem')
}

const contests = await Promise.all(
contestProblems.map(async (contestProblem) => {
return {
Expand Down

0 comments on commit 209dc61

Please sign in to comment.