Skip to content

Commit

Permalink
fix notifiarr
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Sep 19, 2023
1 parent f5d1882 commit bd7bbc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/notifiarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ def request(self, json=None, path="notification", params=None):
raise Failed(f"({response.status_code} [{response.reason}]) {response_json}")
if not response_json["details"]["response"]:
raise Failed("Notifiarr Error: Invalid apikey")
return response

0 comments on commit bd7bbc6

Please sign in to comment.