Skip to content

Commit

Permalink
🐛 kku firewall sucks
Browse files Browse the repository at this point in the history
  • Loading branch information
Anon-136 committed Apr 11, 2024
1 parent 8a43e96 commit e535a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/contest/contest.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class ContestController {
}

@Roles(Role.Admin)
@Patch('/:contestId')
@Post('/:contestId')
@ApiBearerAuth()
@ApiBody({ type: PatchContestDTO })
@ApiResponse({
Expand Down
2 changes: 1 addition & 1 deletion src/modules/problem/problem.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class ProblemController {

//Admin route
@Roles(Role.Admin)
@Patch('/:problemId')
@Post('/:problemId')
@ApiBearerAuth()
@ApiBody({ type: ToggleProblemDTO })
@ApiOkResponse({ type: ProblemDTO, description: 'Toggle problem show state' })
Expand Down

0 comments on commit e535a1d

Please sign in to comment.