Skip to content

Commit 671eff3

Browse files
Fix URL
1 parent 29cdc7d commit 671eff3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shared/clients/jit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_existing_teams(token: str) -> List[TeamAttributes]:
6868
logger.info("Retrieving teams from with pagination.")
6969
while True:
7070
response = requests.get(
71-
'https://api.rocket.jitdev.io/teams', params=params, headers=headers)
71+
f'{get_jit_endpoint_base_url()}/teams', params=params, headers=headers)
7272
if response.status_code == 200:
7373
response_data = response.json()
7474
teams = response_data.get('data', [])

0 commit comments

Comments
 (0)