summaryrefslogtreecommitdiff
path: root/model/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/database.go')
-rw-r--r--model/database.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/database.go b/model/database.go
index 3d8a0c4..36190ff 100644
--- a/model/database.go
+++ b/model/database.go
@@ -23,7 +23,7 @@ func GetSql(code string) (string, error) {
return string(query), nil
}
-func InitDatabase() {
+func InitDatabase(storage string) {
var err error
fn := filepath.Join(storage, "ceres.sqlite3")