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

+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.18.0",
"version": "2.18.1",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
@@ -61,4 +61,4 @@
"build": "tsc",
"build:watch": "tsc --watch"
}
}
}
+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) {