Skip to content

Commit

Permalink
Update baseapi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
olucurious committed Jun 19, 2024
1 parent 5e32d36 commit 7369b6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyfcm/baseapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ def parse_response(self, response):
return response.json()

elif response.status_code == 401:
raise AuthenticationError("There was an error authenticating the sender account")
raise AuthenticationError(
"There was an error authenticating the sender account"
)
elif response.status_code == 400:
raise InvalidDataError(response.text)
elif response.status_code == 404:
Expand Down

0 comments on commit 7369b6b

Please sign in to comment.