From d39ceb4efa4f43ac37d6bcaf0c1d9137382423ad Mon Sep 17 00:00:00 2001 From: Toastie <toastie@toastiet0ast.com> Date: Sat, 18 Jan 2025 22:59:30 +1300 Subject: [PATCH] .deletewaifus should now work --- src/EllieBot/Modules/Gambling/_common/GamblingCleanupService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EllieBot/Modules/Gambling/_common/GamblingCleanupService.cs b/src/EllieBot/Modules/Gambling/_common/GamblingCleanupService.cs index 45c1c7e..2a7d1b4 100644 --- a/src/EllieBot/Modules/Gambling/_common/GamblingCleanupService.cs +++ b/src/EllieBot/Modules/Gambling/_common/GamblingCleanupService.cs @@ -16,9 +16,9 @@ public class GamblingCleanupService : IGamblingCleanupService, IEService public async Task DeleteWaifus() { await using var ctx = _db.GetDbContext(); - await ctx.GetTable<WaifuInfo>().DeleteAsync(); await ctx.GetTable<WaifuItem>().DeleteAsync(); await ctx.GetTable<WaifuUpdate>().DeleteAsync(); + await ctx.GetTable<WaifuInfo>().DeleteAsync(); } public async Task DeleteWaifu(ulong userId)