From ad140fa7b01be1b76f90934e2384ca5fee61b55c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=99=EC=A3=BC?= Date: Tue, 15 Oct 2024 03:22:09 +0900 Subject: [PATCH] chore(submission): fix typo --- submission/views/oj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submission/views/oj.py b/submission/views/oj.py index 0f7c4a58..93c2946f 100644 --- a/submission/views/oj.py +++ b/submission/views/oj.py @@ -70,7 +70,7 @@ class SubmissionAPI(APIView): except Problem.DoesNotExist: return self.error("Problem not exist") if data["language"] not in problem.languages: - return self.error(f"{data['language']} is now allowed in the problem") + return self.error(f"{data['language']} is not allowed in the problem") submission = Submission.objects.create(user_id=request.user.id, username=request.user.username, language=data["language"],