From e566406490e3eb1903146e6c904efc0fd9387864 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Wed, 3 Aug 2022 19:01:27 -0400 Subject: [PATCH] Satisfy eslint on this line --- src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.ts b/src/server.ts index 65c7b8f..897f93f 100644 --- a/src/server.ts +++ b/src/server.ts @@ -221,7 +221,7 @@ addEventListener('fetch', (event: FetchEvent) => { try { event.respondWith(cacheWrapper(event)); } catch (e: unknown) { - let error = e as Error; + const error = e as Error; if (typeof EXCEPTION_DISCORD_WEBHOOK !== 'undefined') { try { fetch(EXCEPTION_DISCORD_WEBHOOK, {