forked from MirrorHub/mautrix-whatsapp
Update main.go
This commit is contained in:
parent
aeb692d616
commit
4ba331fbfd
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -133,7 +133,7 @@ func (bridge *Bridge) Init() {
|
|||
bridge.AS.StateStore = bridge.StateStore
|
||||
|
||||
bridge.Log.Debugln("Initializing database")
|
||||
bridge.DB, err = database.New(bridge.Config.AppService.Database.URI)
|
||||
bridge.DB, err = database.New(bridge.Config.AppService.Database.Type, bridge.Config.AppService.Database.URI)
|
||||
if err != nil {
|
||||
bridge.Log.Fatalln("Failed to initialize database:", err)
|
||||
os.Exit(14)
|
||||
|
|
Loading…
Reference in a new issue