Skip to content

Commit

Permalink
Merge pull request #6084 from hotosm/fix/json-loadstring-syntax
Browse files Browse the repository at this point in the history
Fix syntax error parsing JSON string
  • Loading branch information
eternaltyro authored Oct 18, 2023
2 parents 5b895a4 + e90ebd9 commit 635d259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 635d259

Please sign in to comment.