mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: fix testdata sync
This commit is contained in:
1 parent
6097219691
commit
6f96e7fa9e
2 files changed
+3
-3
No files matched your search
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user