Skip to content

Commit

Permalink
Change default value of BDC_AUTH_REQUIRED to be a str
Browse files Browse the repository at this point in the history
  • Loading branch information
mzaglia committed Mar 4, 2021
1 parent 4ed4cd8 commit 1f1ee33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cube_builder/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Config:
BDC_AUTH_CLIENT_ID = os.getenv('BDC_AUTH_CLIENT_ID', None)
BDC_AUTH_CLIENT_SECRET = os.getenv('BDC_AUTH_CLIENT_SECRET', None)
BDC_AUTH_ACCESS_TOKEN_URL = os.getenv('BDC_AUTH_ACCESS_TOKEN_URL', None)
BDC_AUTH_REQUIRED = strtobool(os.getenv('BDC_AUTH_REQUIRED', 0))
BDC_AUTH_REQUIRED = strtobool(os.getenv('BDC_AUTH_REQUIRED', '0'))

class ProductionConfig(Config):
"""Production Mode."""
Expand Down

0 comments on commit 1f1ee33

Please sign in to comment.