mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: fix submit_answer
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -118,7 +118,7 @@ export class JudgeTask {
|
||||
isSelfSubmission: this.meta.problemOwner === this.request.uid,
|
||||
key: md5(`${this.source}/${getConfig('secret')}`),
|
||||
lang: this.lang,
|
||||
langConfig: this.request.config.type === 'objective' ? null : this.session.getLang(this.lang),
|
||||
langConfig: ['objective', 'submit_answer'].includes(this.request.config.type) ? null : this.session.getLang(this.lang),
|
||||
},
|
||||
);
|
||||
this.stat.judge = new Date();
|
||||
|
||||
Reference in new issue
Block a user