Skip to content

Commit

Permalink
Fix URL
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanRosenboim committed Aug 20, 2024
1 parent 29cdc7d commit 671eff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/clients/jit.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_existing_teams(token: str) -> List[TeamAttributes]:
logger.info("Retrieving teams from with pagination.")
while True:
response = requests.get(
'https://api.rocket.jitdev.io/teams', params=params, headers=headers)
f'{get_jit_endpoint_base_url()}/teams', params=params, headers=headers)
if response.status_code == 200:
response_data = response.json()
teams = response_data.get('data', [])
Expand Down

0 comments on commit 671eff3

Please sign in to comment.