mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
DiscordUser repository removed
This commit is contained in:
@@ -76,7 +76,7 @@ namespace NadekoBot.Core.Common.TypeReaders
|
||||
long cur;
|
||||
using (var uow = _db.GetDbContext())
|
||||
{
|
||||
cur = uow.DiscordUsers.GetUserCurrency(ctx.User.Id);
|
||||
cur = uow._context.DiscordUser.GetUserCurrency(ctx.User.Id);
|
||||
uow.SaveChanges();
|
||||
}
|
||||
return cur;
|
||||
|
Reference in New Issue
Block a user