Skip to content

Commit 51dfc48

Browse files
committed
too many variables fix
1 parent d976801 commit 51dfc48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-api/src/auth_api/services/api_gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def create_key(cls, org_id: int, request_json: Dict[str, str]):
6161
consumer_endpoint: str = current_app.config.get("API_GW_CONSUMERS_API_URL")
6262
gw_api_key = current_app.config.get("API_GW_KEY")
6363
email = cls._get_email_id(org_id, env)
64-
if not cls._consumer_exists(email, env): # If the account doesn't have api access, add it
64+
if not cls._consumer_exists(email): # If the account doesn't have api access, add it
6565
cls._create_consumer(name, org, env=env)
6666
org.has_api_access = True
6767
org.save()

0 commit comments

Comments
 (0)