aboutsummaryrefslogtreecommitdiff
path: root/publicroomsapi/storage/sqlite3/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'publicroomsapi/storage/sqlite3/storage.go')
-rw-r--r--publicroomsapi/storage/sqlite3/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/publicroomsapi/storage/sqlite3/storage.go b/publicroomsapi/storage/sqlite3/storage.go
index 12160162..efe35bdd 100644
--- a/publicroomsapi/storage/sqlite3/storage.go
+++ b/publicroomsapi/storage/sqlite3/storage.go
@@ -41,7 +41,7 @@ type attributeValue interface{}
func NewPublicRoomsServerDatabase(dataSourceName string) (*PublicRoomsServerDatabase, error) {
var db *sql.DB
var err error
- if db, err = sqlutil.Open(common.SQLiteDriverName(), dataSourceName); err != nil {
+ if db, err = sqlutil.Open(common.SQLiteDriverName(), dataSourceName, nil); err != nil {
return nil, err
}
storage := PublicRoomsServerDatabase{