aboutsummaryrefslogtreecommitdiff
path: root/appservice/storage/storage_wasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'appservice/storage/storage_wasm.go')
-rw-r--r--appservice/storage/storage_wasm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/storage/storage_wasm.go b/appservice/storage/storage_wasm.go
index a6144b43..de1acf92 100644
--- a/appservice/storage/storage_wasm.go
+++ b/appservice/storage/storage_wasm.go
@@ -34,7 +34,7 @@ func NewDatabase(
case "postgres":
return nil, fmt.Errorf("Cannot use postgres implementation")
case "file":
- return sqlite3.NewDatabase(dataSourceName)
+ return sqlite3.NewDatabase(uri.Path)
default:
return nil, fmt.Errorf("Cannot use postgres implementation")
}