From d663b92f2a49b1fea02b74295abf192c77c35f3b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 13 Mar 2023 21:08:52 -0400 Subject: [PATCH] tsc --- server/logging/Logger.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/logging/Logger.ts b/server/logging/Logger.ts index cc65b909d..514963a18 100644 --- a/server/logging/Logger.ts +++ b/server/logging/Logger.ts @@ -170,12 +170,12 @@ class Logger { if (isString(input)) { if (sensitiveFields.some((field) => input.includes(field))) { - return "[Filtered]" as T; + return ("[Filtered]" as any) as T; } } if (isArray(input)) { - return input.map(this.sanitize) as T; + return (input.map(this.sanitize) as any) as T; } if (isObject(input)) {