aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/storage/storage.go')
-rw-r--r--syncapi/storage/storage.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syncapi/storage/storage.go b/syncapi/storage/storage.go
index 76a4b7a4..a4275da0 100644
--- a/syncapi/storage/storage.go
+++ b/syncapi/storage/storage.go
@@ -19,13 +19,13 @@ package storage
import (
"net/url"
- "github.com/matrix-org/dendrite/common"
+ "github.com/matrix-org/dendrite/internal"
"github.com/matrix-org/dendrite/syncapi/storage/postgres"
"github.com/matrix-org/dendrite/syncapi/storage/sqlite3"
)
// NewSyncServerDatasource opens a database connection.
-func NewSyncServerDatasource(dataSourceName string, dbProperties common.DbProperties) (Database, error) {
+func NewSyncServerDatasource(dataSourceName string, dbProperties internal.DbProperties) (Database, error) {
uri, err := url.Parse(dataSourceName)
if err != nil {
return postgres.NewDatabase(dataSourceName, dbProperties)