mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 修复p_files.get_links.pdoc缺失导致无法下载测试数据的问题
This commit is contained in:
1 parent
c87256c715
commit
6cfd226e1e
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.17.8",
|
||||
"version": "2.17.9",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "dist/loader.js",
|
||||
"typings": "dist/loader.d.ts",
|
||||
|
||||
@@ -429,7 +429,7 @@ export class ProblemFilesHandler extends ProblemDetailHandler {
|
||||
file, false, isJudge ? 'judge' : 'user',
|
||||
);
|
||||
}
|
||||
this.response.body = { links };
|
||||
this.response.body.links = links;
|
||||
}
|
||||
|
||||
@post('filename', Types.String)
|
||||
|
||||
Reference in new issue
Block a user