Fixed .betstats not working on european locales.

- Upped version to 4.3.12
This commit is contained in:
Kwoth
2023-02-11 23:04:31 +01:00
parent 13741b8317
commit 9dc783b36f
4 changed files with 12 additions and 5 deletions

View File

@@ -104,8 +104,7 @@ public sealed class GamblingTxTracker : ITxTracker, INService, IReadyExecutor
public async Task<IReadOnlyCollection<GamblingStats>> GetAllAsync()
{
await using var ctx = _db.GetDbContext();
return await ctx
.GetTable<GamblingStats>()
.ToListAsync();
return await ctx.Set<GamblingStats>()
.ToListAsyncEF();
}
}

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Services;
public sealed class StatsService : IStatsService, IReadyExecutor, INService
{
public const string BOT_VERSION = "4.3.11";
public const string BOT_VERSION = "4.3.12";
public string Author
=> "Kwoth#2452";