Skip to content

Commit

Permalink
Update #7
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Oct 2, 2024
1 parent 88b1d84 commit c9eeef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def fetch_release_details(repo, token, release_version):
url = f'https://api.github.com/repos/{repo}/releases'
response = requests.get(url, headers=api_headers)
response.raise_for_status() # Raise an exception for HTTP errors
response.close()
if "latest" == release_version:
return support.get_latest_release(response.json())
else:
Expand Down

0 comments on commit c9eeef0

Please sign in to comment.