Performance improvements. Timely command almost done
This commit is contained in:
@ -106,7 +106,7 @@ namespace NadekoBot.Core.Services.Impl
|
||||
{
|
||||
using (var uow = _db.UnitOfWork)
|
||||
{
|
||||
var bc = uow.BotConfig.GetOrCreate();
|
||||
var bc = uow.BotConfig.GetOrCreate(set => set);
|
||||
bc.Locale = ci.Name;
|
||||
uow.Complete();
|
||||
}
|
||||
|
Reference in New Issue
Block a user