From 079a0fc4232890c142b425c9d777f4edc12f4454 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 25 Jun 2025 05:33:08 +0200 Subject: [PATCH] ??? --- src/services/configWatcherService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/configWatcherService.ts b/src/services/configWatcherService.ts index 072b6b61..8df1acd9 100644 --- a/src/services/configWatcherService.ts +++ b/src/services/configWatcherService.ts @@ -76,6 +76,6 @@ export const saveConfig = async (): Promise => { export const syncConfigWithDatabase = (): void => { // Event messages are deleted after endDate. Since we don't use beginDate/endDate and instead have config toggles, we need to delete the messages once those bools are false. if (!config.worldState?.galleonOfGhouls) { - void Inbox.deleteMany({ goalTag: "GalleonRobbery" }); + void Inbox.deleteMany({ goalTag: "GalleonRobbery" }).then(() => {}); // For some reason, I can't just do `Inbox.deleteMany(...)`; it needs this whole circus. } };