aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go')
-rw-r--r--cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go b/cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go
index 819469ee..cd2804c9 100644
--- a/cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go
+++ b/cmd/dendrite-demo-libp2p/storage/postgreswithdht/storage.go
@@ -45,7 +45,7 @@ type PublicRoomsServerDatabase struct {
// NewPublicRoomsServerDatabase creates a new public rooms server database.
func NewPublicRoomsServerDatabase(dataSourceName string, dht *dht.IpfsDHT) (*PublicRoomsServerDatabase, error) {
- pg, err := postgres.NewPublicRoomsServerDatabase(dataSourceName)
+ pg, err := postgres.NewPublicRoomsServerDatabase(dataSourceName, nil)
if err != nil {
return nil, err
}