This commit is contained in:
undefined committed 2020-06-30 23:03:18 +08:00
1 parent 0de7cd7b59
commit 7d7b12392f
18 files changed
+90 -47

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
const description = 'Calculate rating of a domain, or all domains';
/* eslint-disable no-await-in-loop */
const domain = require('../model/domain');
const contest = require('../model/contest');
@@ -64,4 +66,4 @@ async function run({ domainId, isSub = false }, report) {
return true;
}
global.Hydro.script.recalcRating = module.exports = { run };
global.Hydro.script.recalcRating = module.exports = { run, description };