diff options
Diffstat (limited to 'appservice/appservice.go')
-rw-r--r-- | appservice/appservice.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/appservice.go b/appservice/appservice.go index b9909186..0db2c100 100644 --- a/appservice/appservice.go +++ b/appservice/appservice.go @@ -62,7 +62,7 @@ func NewInternalAPI( js, _ := jetstream.Prepare(base.ProcessContext, &base.Cfg.Global.JetStream) // Create a connection to the appservice postgres DB - appserviceDB, err := storage.NewDatabase(&base.Cfg.AppServiceAPI.Database) + appserviceDB, err := storage.NewDatabase(base, &base.Cfg.AppServiceAPI.Database) if err != nil { logrus.WithError(err).Panicf("failed to connect to appservice db") } |