aboutsummaryrefslogtreecommitdiff
path: root/syncapi/syncapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/syncapi.go')
-rw-r--r--syncapi/syncapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/syncapi.go b/syncapi/syncapi.go
index 5ab1ec7c..4219d560 100644
--- a/syncapi/syncapi.go
+++ b/syncapi/syncapi.go
@@ -42,7 +42,7 @@ func SetupSyncAPIComponent(
federation *gomatrixserverlib.FederationClient,
cfg *config.Dendrite,
) {
- syncDB, err := storage.NewSyncServerDatasource(string(base.Cfg.Database.SyncAPI))
+ syncDB, err := storage.NewSyncServerDatasource(string(base.Cfg.Database.SyncAPI), base.Cfg.DbProperties())
if err != nil {
logrus.WithError(err).Panicf("failed to connect to sync db")
}