Skip to content

Commit

Permalink
fix bug with init connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-goebel committed Feb 27, 2024
1 parent 94a49c6 commit ebb2b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func ConnectionConfigWithApplicationName(applicationName string) *pgx.ConnConfig
}

func InitConnectionConfigWithApplicationName(applicationName string) *pgx.ConnConfig {
return connectionConfigWithApplicationName(ConnectionString(), applicationName)
return connectionConfigWithApplicationName(InitConnectionString(), applicationName)
}

func connectionConfigWithApplicationName(connectionString string, applicationName string) *pgx.ConnConfig {
Expand Down

0 comments on commit ebb2b5a

Please sign in to comment.