Skip to content

Commit 0b0c624

Browse files
committed
build issues
1 parent e0bad67 commit 0b0c624

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mns_subscription/src/mns_service.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ def subscribe_notification(self) -> dict | None:
5151
if response.status_code == 201:
5252
return response.json()
5353
else:
54-
raise UnauthorizedError(response=response.json, messag="You don't have the right permissions for this request")
54+
raise UnauthorizedError(
55+
response=response.json,
56+
message="You don't have the right permissions for this request")
5557

5658
def get_subscription(self) -> dict | None:
5759
response = requests.get(MNS_URL, headers=self.request_headers, timeout=10)

0 commit comments

Comments
 (0)