Skip to content

Commit

Permalink
fixed port error
Browse files Browse the repository at this point in the history
  • Loading branch information
TRudenko22 committed May 22, 2023
1 parent dc0db20 commit 4f527eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func main() {

config, _ := pgx.ParseConfig("")
config.Host = os.Getenv(dbHost)
config.Port = uint16(5432)
config.Port = uint16(port)
config.User = os.Getenv(dbUser)
config.Password = os.Getenv(dbPassword)
config.Database = os.Getenv(dbName)
Expand Down

0 comments on commit 4f527eb

Please sign in to comment.