judge: fix secret calc

This commit is contained in:
undefined committed 2021-10-25 10:31:25 +08:00
1 parent 628ec7953b
commit e15b8b4f69
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ class JudgeTask {
this.config = await readCases(
this.folder,
{ detail: this.session.config.detail, ...this.config },
{ next: this.next, key: md5(`${this.source}${getConfig('secret')}`) },
{ next: this.next, key: md5(`${this.source}/${getConfig('secret')}`) },
);
this.stat.judge = new Date();
const type = this.config.type || 'default';