From aaef365bdc8702e880ffa807c15211366bca7f55 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 17 Jan 2025 13:14:21 +0000 Subject: [PATCH] fix: .deletewaifus should now work --- .../Modules/Gambling/_common/GamblingCleanupService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Gambling/_common/GamblingCleanupService.cs b/src/NadekoBot/Modules/Gambling/_common/GamblingCleanupService.cs index f8516cbea..9b66e1028 100644 --- a/src/NadekoBot/Modules/Gambling/_common/GamblingCleanupService.cs +++ b/src/NadekoBot/Modules/Gambling/_common/GamblingCleanupService.cs @@ -16,9 +16,9 @@ public class GamblingCleanupService : IGamblingCleanupService, INService public async Task DeleteWaifus() { await using var ctx = _db.GetDbContext(); - await ctx.GetTable().DeleteAsync(); await ctx.GetTable().DeleteAsync(); await ctx.GetTable().DeleteAsync(); + await ctx.GetTable().DeleteAsync(); } public async Task DeleteWaifu(ulong userId)