aboutsummaryrefslogtreecommitdiff
path: root/mediaapi/storage/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'mediaapi/storage/storage.go')
-rw-r--r--mediaapi/storage/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediaapi/storage/storage.go b/mediaapi/storage/storage.go
index 8e67af9f..71ab7207 100644
--- a/mediaapi/storage/storage.go
+++ b/mediaapi/storage/storage.go
@@ -27,7 +27,7 @@ import (
)
// NewMediaAPIDatasource opens a database connection.
-func NewMediaAPIDatasource(conMan sqlutil.Connections, dbProperties *config.DatabaseOptions) (Database, error) {
+func NewMediaAPIDatasource(conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions) (Database, error) {
switch {
case dbProperties.ConnectionString.IsSQLite():
return sqlite3.NewDatabase(conMan, dbProperties)