We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d976801 commit 51dfc48Copy full SHA for 51dfc48
auth-api/src/auth_api/services/api_gateway.py
@@ -61,7 +61,7 @@ def create_key(cls, org_id: int, request_json: Dict[str, str]):
61
consumer_endpoint: str = current_app.config.get("API_GW_CONSUMERS_API_URL")
62
gw_api_key = current_app.config.get("API_GW_KEY")
63
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
+ if not cls._consumer_exists(email): # If the account doesn't have api access, add it
65
cls._create_consumer(name, org, env=env)
66
org.has_api_access = True
67
org.save()
0 commit comments