2.0.0(preview)

This commit is contained in:
masnn committed 2020-06-08 13:41:43 +08:00
1 parent d5929d78b1
commit 1c8b62a6d9
33 files changed
+307 -241

No files matched your search

+2 -4
View File
@@ -36,9 +36,7 @@ class ProblemImportHandler extends Handler {
}
async function apply() {
Route('/problem/import', module.exports.ProblemImportHandler);
Route('/problem/import', ProblemImportHandler);
}
global.Hydro.handler.import = module.exports = {
ProblemImportHandler, apply,
};
global.Hydro.handler.import = module.exports = apply;