From 272d3298a28118bd93553ef55f4d26d0dbc1736f Mon Sep 17 00:00:00 2001 From: Anon-136 Date: Mon, 6 May 2024 21:52:48 +0700 Subject: [PATCH] :bug: kku firewall --- src/modules/submission/submission.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/submission/submission.controller.ts b/src/modules/submission/submission.controller.ts index 6577a62..7f9eb34 100644 --- a/src/modules/submission/submission.controller.ts +++ b/src/modules/submission/submission.controller.ts @@ -267,7 +267,7 @@ export class SubmissionController { } @Roles(Role.Admin) - @Patch('/:resultId/rejudge') + @Post('/:resultId/rejudge') @ApiBearerAuth() @ApiOkResponse({ type: SubmissionWithSourceCodeDTO, @@ -286,7 +286,7 @@ export class SubmissionController { } @Roles(Role.Admin) - @Patch('problem/:problemId/rejudge') + @Post('problem/:problemId/rejudge') @ApiBearerAuth() @ApiOkResponse({ description: 'Rejudge all latest submission of a problem',