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
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.18.0", "version": "2.18.1",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "dist/loader.js", "main": "dist/loader.js",
"typings": "dist/loader.d.ts", "typings": "dist/loader.d.ts",
+1 -1
View File
@@ -112,7 +112,7 @@ class JudgeHandler extends Handler {
export class JudgeFilesDownloadHandler extends Handler { export class JudgeFilesDownloadHandler extends Handler {
@post('files', Types.Set) @post('files', Types.Set)
@post('pid', Types.UnsignedInt) @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 pdoc = await problem.get(domainId, pid);
const links = {}; const links = {};
for (const file of files) { for (const file of files) {