diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 13:33:24 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 13:33:24 +0100 |
commit | 32b93c857f89283f276be5ae2e39c9d11c87fece (patch) | |
tree | df7b4bcd0f375d06f2d5d4333f491680a0973cb6 /src/api/Server.ts | |
parent | Move isTextChannel to channel (diff) | |
download | server-32b93c857f89283f276be5ae2e39c9d11c87fece.tar.xz |
var -> let
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/api/Server.ts')
-rw-r--r-- | src/api/Server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/Server.ts b/src/api/Server.ts index f74505f6..088c1953 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -45,7 +45,7 @@ export class FosscordServer extends Server { this.app.use( morgan("combined", { skip: (req, res) => { - var skip = !( + let skip = !( process.env["LOG_REQUESTS"]?.includes( res.statusCode.toString(), ) ?? false |