aboutsummaryrefslogtreecommitdiff
path: root/src/lib/common
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-27 16:57:39 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-27 16:57:39 -0400
commit877537043dd2a8ba16037f061716d9c6f7a5764a (patch)
tree9e9fd2c69b415d2f548e97d0d6abbf3bc8a314a8 /src/lib/common
parenta1ab06dcfccef90192b90910aecdddbc505eca00 (diff)
downloadtanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.gz
tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.bz2
tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.zip
change printWidth to 130 and update dependecies
Diffstat (limited to 'src/lib/common')
-rw-r--r--src/lib/common/Moderation.ts3
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 };
}