Skip to content

Commit dd3d70c

Browse files
committed
Remove default for RW_API_KEY (will always be set)
1 parent 185abf7 commit dd3d70c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/settings/globals.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@
146146
AWS_SECRETSMANAGER_URL = config("AWS_SECRETSMANAGER_URL", cast=str, default=None)
147147

148148
RW_API_URL = config("RW_API_URL", cast=str, default=None)
149-
RW_API_KEY = json.loads(
150-
config("RW_API_KEY", cast=str, default=json.dumps({"api_key": "foo"}))
151-
)["api_key"]
149+
RW_API_KEY = json.loads(config("RW_API_KEY", cast=str))["api_key"]
152150

153151
HOUR: int = int(60 * 60)
154152
# Temporarily set high timeout for TCLF. See https://gfw.atlassian.net/browse/GTC-1843

0 commit comments

Comments
 (0)