Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing required bool param for bun.WithVerbose
Browse files Browse the repository at this point in the history
auggod committed Feb 4, 2022
1 parent 6a95391 commit 0b4568c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/database.go
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ func NewDatabase(cnf *config.Config) (*bun.DB, error) {
db := bun.NewDB(sqldb, pgdialect.New())

if cnf.IsDevelopment {
db.AddQueryHook(bundebug.NewQueryHook(bundebug.WithVerbose()))
db.AddQueryHook(bundebug.NewQueryHook(bundebug.WithVerbose(true)))
}

if err != nil {

0 comments on commit 0b4568c

Please sign in to comment.