Skip to content

Commit

Permalink
Fix db url type
Browse files Browse the repository at this point in the history
  • Loading branch information
koldakov committed Jan 15, 2024
1 parent 2cfbc1b commit 0208b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_env_var[T](

class Settings(BaseModel):
allow_origins: List = get_env_var("ALLOW_ORIGINS", cast=List)
database_url: List = get_env_var("DATABASE_URL", cast=str, async_=True, db_url=True)
database_url: str = get_env_var("DATABASE_URL", cast=str, async_=True, db_url=True)
project_root: Path = Path(__file__).parent.parent.resolve()
static: Path = Path("static")
trusted_host: str = get_env_var("TRUSTED_HOST", cast=str)
Expand Down

0 comments on commit 0208b7c

Please sign in to comment.