From 5892cec04c53a38833a158f3e465ead3ec9e5d3d Mon Sep 17 00:00:00 2001 From: slhmy <31381093+slhmy@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:49:13 +0800 Subject: [PATCH] Fix JudgeTaskBody --- application/server/handler/problem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/server/handler/problem.go b/application/server/handler/problem.go index e32985b..ef3e91b 100644 --- a/application/server/handler/problem.go +++ b/application/server/handler/problem.go @@ -80,7 +80,7 @@ func putProblemPackage(ginCtx *gin.Context) { type judgeTaskBody struct { Src string `json:"src"` - SrcLanguage string `json:"srcLanguage"` + SrcLanguage string `json:"src_language"` } // postJudgeTask