diff options
Diffstat (limited to 'src/lib/common/Moderation.ts')
-rw-r--r-- | src/lib/common/Moderation.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/common/Moderation.ts b/src/lib/common/Moderation.ts index 29d66fa..0c7c21a 100644 --- a/src/lib/common/Moderation.ts +++ b/src/lib/common/Moderation.ts @@ -107,8 +107,7 @@ export class Moderation { if (!getCaseNumber) return { log: saveResult, caseNum: null }; - const caseNum = (await ModLog.findAll({ where: { type: options.type, user: user, guild: guild, hidden: 'false' } })) - ?.length; + const caseNum = (await ModLog.findAll({ where: { type: options.type, user: user, guild: guild, hidden: 'false' } }))?.length; return { log: saveResult, caseNum }; } |