Fix [object Promise] on automod case notes

This commit is contained in:
Dragory 2020-01-28 22:16:19 +02:00
parent 462a604c8b
commit 2a01ef1edd
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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}"`;
if (matchSummary) {