Skip to content

Commit

Permalink
fix: fix wrong DB connection
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryoverload authored Feb 22, 2025
1 parent 9ca859c commit b472627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func init() {
"X-API-Key", friendsGRPCAPIKey,
)

globals.Postgres, err = sql.Open("postgres", os.Getenv("PN_MINECRAFT_POSTGRES_URI"))
globals.Postgres, err = sql.Open("postgres", postgresURI)
if err != nil {
globals.Logger.Critical(err.Error())
}
Expand Down

0 comments on commit b472627

Please sign in to comment.