3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 10:25:01 +00:00

fix undefined typing lole

This commit is contained in:
metal 2021-09-23 09:59:42 +00:00 committed by almeidx
parent 57b9540edf
commit 63ac8b89aa
No known key found for this signature in database
GPG key ID: F403F80B79353CB4
6 changed files with 6 additions and 6 deletions

View file

@ -60,7 +60,7 @@ export const AddCaseCmd = modActionsCmd({
return;
}
const config = pluginData.config.get();
const reason = parseReason(config, formatReasonWithAttachments(args.reason, [...msg.attachments.values()]))!;
const reason = parseReason(config, formatReasonWithAttachments(args.reason, [...msg.attachments.values()]));
// Create the case
const casesPlugin = pluginData.getPlugin(CasesPlugin);