3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00

Fix [object Promise] on automod case notes

This commit is contained in:
Dragory 2020-01-28 22:16:19 +02:00
parent 8862cb23de
commit d1eab6858d

View file

@ -920,7 +920,7 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema, ICustomOverride
} }
} }
const matchSummary = this.getMatchSummary(matchResult, archiveId); const matchSummary = await this.getMatchSummary(matchResult, archiveId);
let caseExtraNote = `Matched automod rule "${rule.name}"`; let caseExtraNote = `Matched automod rule "${rule.name}"`;
if (matchSummary) { if (matchSummary) {