mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 00:56:09 +03:00
Update to use new perfusion version
This commit is contained in:
parent
3e7ace4a7e
commit
fdfea2bbb1
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "perfusion"]
|
||||
path = perfusion
|
||||
url = http://192.168.1.65/git/perfusion.git
|
||||
url = https://github.com/PorezPorezych/perfusion
|
||||
|
||||
@ -29,7 +29,7 @@ namespace JetKarmaBot
|
||||
var dbOptions = new DbContextOptionsBuilder<KarmaContext>()
|
||||
.UseMySql(cfg.ConnectionString);
|
||||
|
||||
c.Add(() => new KarmaContext(dbOptions.Options));
|
||||
c.AddSingleton(() => new KarmaContext(dbOptions.Options));
|
||||
c.Add<JetKarmaBot>();
|
||||
|
||||
var bot = c.GetInstance<JetKarmaBot>();
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit f60e82ae937afe4d0073daf86c53b04406d4929c
|
||||
Subproject commit 845dbe77b217962a8ce98be50673aa408b081cda
|
||||
Loading…
Reference in New Issue
Block a user