mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: bug fix
This commit is contained in:
1 parent
4f8bdc9957
commit
a75804362d
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.1.8",
|
||||
"version": "3.1.9",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -256,7 +256,7 @@ export class ProblemDetailHandler extends ProblemHandler {
|
||||
}
|
||||
if (ddoc.langs) {
|
||||
(this.pdoc.config as ProblemConfig).langs = intersection(
|
||||
this.response.body.pdoc.config.langs || ddoc.langs.split(','),
|
||||
(this.pdoc.config as ProblemConfig).langs || ddoc.langs.split(','),
|
||||
ddoc.langs.split(','),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user