core: 修复p_files.get_links.pdoc缺失导致无法下载测试数据的问题

This commit is contained in:
undefined committed 2021-02-02 17:40:15 +08:00
1 parent c87256c715
commit 6cfd226e1e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)