Skip to content

Commit

Permalink
Fixing the return value causing runtime errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialawrence committed Nov 15, 2023
1 parent b68ab70 commit 43b6db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/azure_active_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def create_team_from_group(group_id, access_token):
) # Using PUT as per Graph API documentation for creating team from group
response.raise_for_status()
# If the request was successful, get the JSON response
return response.json()
return response
except requests.exceptions.HTTPError as err:
print(f"HTTP Error {err} encountered...")
if response.status_code == 404 and retry_count < max_retries - 1:
Expand Down

0 comments on commit 43b6db0

Please sign in to comment.