aboutsummaryrefslogtreecommitdiff
path: root/keyserver/keyserver.go
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/keyserver.go')
-rw-r--r--keyserver/keyserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/keyserver.go b/keyserver/keyserver.go
index c557dfba..007a48a5 100644
--- a/keyserver/keyserver.go
+++ b/keyserver/keyserver.go
@@ -41,7 +41,7 @@ func NewInternalAPI(
) api.KeyInternalAPI {
js, _ := jetstream.Prepare(base.ProcessContext, &cfg.Matrix.JetStream)
- db, err := storage.NewDatabase(&cfg.Database)
+ db, err := storage.NewDatabase(base, &cfg.Database)
if err != nil {
logrus.WithError(err).Panicf("failed to connect to key server database")
}