Skip to content

Commit

Permalink
fix typo in config
Browse files Browse the repository at this point in the history
  • Loading branch information
emp7yhead committed Apr 13, 2023
1 parent 384088f commit a4d2214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack_bot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_db_uri():
user = os.getenv('PG_USER', default='postgres')
password = os.getenv('PG_PASS', default='password')
host = os.getenv('PG_HOST', default='localhost')
port = os.getenv('PG_POST', default=5432)
port = os.getenv('PG_HOST', default=5432)
db = os.getenv('PG_DB', default='')
return f'postgresql://{user}:{password}@{host}:{port}/{db}'

Expand Down

0 comments on commit a4d2214

Please sign in to comment.