From 0e1aa9fa4530bfbca2a69a5ca71e1e6cf25eb697 Mon Sep 17 00:00:00 2001 From: Annika <56906084+AnnikaCodes@users.noreply.github.com> Date: Mon, 10 Oct 2022 19:55:11 -0700 Subject: [PATCH] Fix build --- server/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/chat.ts b/server/chat.ts index c3697031fe..3eb4c0c3cd 100644 --- a/server/chat.ts +++ b/server/chat.ts @@ -1821,7 +1821,7 @@ export const Chat = new class { await this.database.runFile(pathModule.resolve(migrationsFolder, file)); } - Chat.destroyHandlers.push(() => Chat.database?.destroy()); + Chat.destroyHandlers.push(() => void Chat.database?.destroy()); } readonly MessageContext = MessageContext;