core: fix testdata sync

This commit is contained in:
undefined committed 2021-02-28 09:38:29 +08:00
1 parent 6097219691
commit 6f96e7fa9e
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ class JudgeHandler extends Handler {
export class JudgeFilesDownloadHandler extends Handler {
@post('files', Types.Set)
@post('pid', Types.UnsignedInt)
async postGetLinks(domainId: string, files: Set<string>, pid: number) {
async post(domainId: string, files: Set<string>, pid: number) {
const pdoc = await problem.get(domainId, pid);
const links = {};
for (const file of files) {