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