Skip to content

Commit e1a7abb

Browse files
committed
Merge pull request #42 from orblivion/patch-1
Corrects json_request docstring
2 parents 21820c2 + 4dff287 commit e1a7abb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gcm/gcm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def json_request(self, registration_ids, data=None, collapse_key=None,
258258
:param registration_ids: list of the registration ids
259259
:param data: dict mapping of key-value pairs of messages
260260
:return dict of response body from Google including multicast_id, success, failure, canonical_ids, etc
261-
:raises GCMMissingRegistrationException: if the list of registration_ids exceeds 1000 items
261+
:raises GCMMissingRegistrationException: if the list of registration_ids is empty
262+
:raises GCMTooManyRegIdsException: if the list of registration_ids exceeds 1000 items
262263
"""
263264

264265
if not registration_ids:

0 commit comments

Comments
 (0)