database configuration only via PG* env variables and MQTT password only via configured env var
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-12-17 13:53:16 +01:00
parent 6d932f56c8
commit ee2c5f31e8
11 changed files with 59 additions and 38 deletions

View File

@ -129,7 +129,7 @@ func NewSverHandler(config config.HandlerConfigT) handler.Handler {
t.config = localConfig
t.ready = true
t.dbh = database.NewDatabaseHandle(config.DatabaseConnStr)
t.dbh = database.NewDatabaseHandle()
return t
}