From e90ebd924386a1de8dbfb4da80e7a72131312ce4 Mon Sep 17 00:00:00 2001 From: eternaltyro Date: Wed, 18 Oct 2023 14:55:58 +0100 Subject: [PATCH] Fix syntax error parsing JSON string --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index a76256e6d4..555205014f 100644 --- a/backend/config.py +++ b/backend/config.py @@ -205,7 +205,7 @@ class EnvironmentConfig: """ import json - _params = json.loads(os.getenv("OAUTH2_APP_CREDENTIALS"), None) + _params = json.loads(os.getenv("OAUTH2_APP_CREDENTIALS", None)) OAUTH_CLIENT_ID = _params.get("CLIENT_ID", None) OAUTH_CLIENT_SECRET = _params.get("CLIENT_SECRET", None) OAUTH_REDIRECT_URI = _params.get("REDIRECT_URI", None)