Skip to content

Commit f8d4bf4

Browse files
committed
fix type POSTGRES_PORT from str to int
1 parent f8bb115 commit f8d4bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Settings(BaseSettings):
1313
POSTGRES_PASSWORD: str = os.environ.get("POSTGRES_PASSWORD", "6775212952")
1414
POSTGRES_DB: str = os.environ.get("POSTGRES_DB", "fastapi_postgres")
1515
POSTGRES_SERVER: str = os.environ.get("POSTGRES_SERVER", "localhost")
16-
POSTGRES_PORT: str = os.environ.get("POSTGRES_PORT", 5432)
16+
POSTGRES_PORT: int = os.environ.get("POSTGRES_PORT", 5432)
1717

1818

1919

0 commit comments

Comments
 (0)