mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01: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
@@ -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