Skip to content

Commit 8e732d2

Browse files
committed
Fix backend tests
1 parent bd6fc7c commit 8e732d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

api/PclusterApiHandler.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
JWKS_URL = os.getenv("JWKS_URL",
6565
f"https://cognito-idp.{REGION}.amazonaws.com/{USER_POOL_ID}/" ".well-known/jwks.json")
6666
API_BASE_URL_MAPPING = {}
67-
68-
for url in API_BASE_URL.split(","):
69-
if url:
70-
pair=url.split("=")
71-
API_BASE_URL_MAPPING[pair[0]] = pair[1]
67+
if API_BASE_URL:
68+
for url in API_BASE_URL.split(","):
69+
if url:
70+
pair=url.split("=")
71+
API_BASE_URL_MAPPING[pair[0]] = pair[1]
7272

7373

7474

0 commit comments

Comments
 (0)