judge: fix objective question

pull/546/head
undefined 2 years ago
parent 2bd3d56c10
commit 328b5c6690
No known key found for this signature in database

@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "3.1.21",
"version": "3.1.22",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",

@ -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.session.getLang(this.lang),
langConfig: this.request.config.type === 'objective' ? null : this.session.getLang(this.lang),
},
);
this.stat.judge = new Date();

Loading…
Cancel
Save