core: 添加登录域名记录

This commit is contained in:
undefined committed 2021-01-25 13:15:31 +08:00
1 parent 3c4256be84
commit 66639b14de
4 files changed
+17 -36

No files matched your search

-1
View File
@@ -281,7 +281,6 @@ export class ProblemPretestHandler extends ProblemDetailHandler {
@param('input', Types.String, true)
async post(domainId: string, lang: string, code: string, input: string = '') {
this.limitRate('add_record', 3600, 100);
// TODO parseConfig
const rid = await record.add(
domainId, this.pdoc.docId, this.user._id,
lang, code, true,