mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 添加登录域名记录
This commit is contained in:
1 parent
3c4256be84
commit
66639b14de
4 files changed
+17
-36
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user