From d84b5fefa9c3de4986bf13cc2f543cb555d4f8a5 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Wed, 6 Sep 2023 08:13:04 +0100 Subject: [PATCH] fix: pydantic defaults for ODK_CENTRAL vars --- 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