Skip to content

Commit

Permalink
fix make_request
Browse files Browse the repository at this point in the history
  • Loading branch information
PavloMalko committed Dec 9, 2024
1 parent d75b69a commit 48254e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckanext/drupal_api/logic/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def make_request(url: str) -> dict:

_add_drupal_session(session)
req = session.get(url, timeout=timeout)
req.raise_for_status()
return req.json()


Expand Down

0 comments on commit 48254e6

Please sign in to comment.