Skip to content

Commit

Permalink
Edity script
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanRosenboim committed Aug 19, 2024
1 parent 8c347b7 commit 59d6eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/clients/jit.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ def _handle_resoponse(response, existing_teams):
existing_teams = []
# Check if the request was successful
if response.status_code == 200:
logger.info(f'Response: {response.json()['metadata']}')
logger.info(f'Response: {response.json()["metadata"]}')
after = _handle_resoponse(response, existing_teams)
while after:
response = requests.get(
f"{url}&after={after}", headers=headers)
logger.info(f'Response: {response.json()['metadata']}')
logger.info(f'Response: {response.json()["metadata"]}')
if response.status_code == 200:
after = _handle_resoponse(response, existing_teams)
logger.info(f'Afer: {after}')
Expand Down

0 comments on commit 59d6eb9

Please sign in to comment.