Skip to content

Commit

Permalink
Remove replicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
majdyz committed Nov 8, 2024
1 parent 8729ca9 commit 86c3f50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion autogpt_platform/backend/backend/blocks/helpers/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ def get_request(
if headers is None:
headers = {}
response = requests.get(url, headers=headers)
response.raise_for_status()
return response.json() if json else response.text

0 comments on commit 86c3f50

Please sign in to comment.