mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-08 17:08:04 +02:00
Refactor server code (#407)
This commit is contained in:
@ -50,7 +50,7 @@ func initialize(ctx *cli.Context) {
|
||||
config.InitLog()
|
||||
|
||||
db.DeprecationDBFilename()
|
||||
if err := db.Setup(config.C.DBUri, false); err != nil {
|
||||
if err := db.Setup(config.C.DBUri); err != nil {
|
||||
log.Fatal().Err(err).Msg("Failed to initialize database in hooks")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user