mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 00:56:09 +03:00
Update perfusion commit id + fix bug
This commit is contained in:
parent
fdfea2bbb1
commit
0a3d969bec
@ -29,7 +29,7 @@ namespace JetKarmaBot
|
||||
var dbOptions = new DbContextOptionsBuilder<KarmaContext>()
|
||||
.UseMySql(cfg.ConnectionString);
|
||||
|
||||
c.AddSingleton(() => new KarmaContext(dbOptions.Options));
|
||||
c.AddTransient(() => new KarmaContext(dbOptions.Options));
|
||||
c.Add<JetKarmaBot>();
|
||||
|
||||
var bot = c.GetInstance<JetKarmaBot>();
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 845dbe77b217962a8ce98be50673aa408b081cda
|
||||
Subproject commit a806f4d9fb9eb0e3036567304cabe1adf65d476c
|
||||
Loading…
Reference in New Issue
Block a user