Skip to content

Commit

Permalink
Set default to False explicitly, so we're not relying on the falsines…
Browse files Browse the repository at this point in the history
…s of the None value
  • Loading branch information
A-Ashiq committed Jan 21, 2025
1 parent 43d455b commit d874f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/api/settings/private_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import config

if os.environ.get("AUTH_ENABLED"):
if os.environ.get("AUTH_ENABLED", False):
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.dummy.DummyCache",
Expand Down

0 comments on commit d874f81

Please sign in to comment.