From 0de1922d346a18b3e27b758883a3345c6ed619b7 Mon Sep 17 00:00:00 2001 From: Sam <78538841+spwoodcock@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:16:04 +0200 Subject: [PATCH] fix: pydantic defaults for ODK_CENTRAL vars (#806) --- src/backend/app/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/app/config.py b/src/backend/app/config.py index c58199ea9f..62840e9a6c 100644 --- a/src/backend/app/config.py +++ b/src/backend/app/config.py @@ -99,9 +99,9 @@ def assemble_db_connection(cls, v: Optional[str], info: FieldValidationInfo) -> # Convert Url type to string return str(pg_url) - ODK_CENTRAL_URL: Optional[AnyUrl] - ODK_CENTRAL_USER: Optional[str] - ODK_CENTRAL_PASSWD: Optional[str] + ODK_CENTRAL_URL: Optional[AnyUrl] = None + ODK_CENTRAL_USER: Optional[str] = "" + ODK_CENTRAL_PASSWD: Optional[str] = "" OSM_CLIENT_ID: str OSM_CLIENT_SECRET: str