.deletewaifus should now work

This commit is contained in:
Toastie 2025-01-18 22:59:30 +13:00
parent 55ae57b4cc
commit d39ceb4efa
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -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)