From 877537043dd2a8ba16037f061716d9c6f7a5764a Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:57:39 -0400 Subject: change printWidth to 130 and update dependecies --- src/lib/common/Moderation.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/common/Moderation.ts') 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 }; } -- cgit