From cfac5efa94eb56b6a712741a65b816be2f3d8b40 Mon Sep 17 00:00:00 2001 From: emp7yhead Date: Fri, 14 Apr 2023 01:01:22 +0900 Subject: [PATCH] fix typo in config --- slack_bot/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack_bot/config.py b/slack_bot/config.py index 6d724a6..684eda1 100644 --- a/slack_bot/config.py +++ b/slack_bot/config.py @@ -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_PORT', default=5432) db = os.getenv('PG_DB', default='') return f'postgresql://{user}:{password}@{host}:{port}/{db}'