summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot.go b/bot.go
index cc540c7..776a373 100644
--- a/bot.go
+++ b/bot.go
@@ -551,8 +551,7 @@ func init() {
//
logLevel.Set(slog.LevelInfo)
logger = slog.New(slog.NewTextHandler(logfile, &slog.HandlerOptions{Level: logLevel}))
- // TODO: rename and/or put in cfg
- store = storage.NewProviderSQL("test.db", logger)
+ store = storage.NewProviderSQL(cfg.DBPATH, logger)
if store == nil {
os.Exit(1)
}