Skip to content

Commit 44338a2

Browse files
committed
Merge pull request #46 from dkong/fix_json_request
Fix "TypeError: unhashable type" when calling json_request
2 parents fb6b7f0 + a75de51 commit 44338a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcm/gcm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def json_request(self, registration_ids, data=None, collapse_key=None,
271271
for attempt in range(retries):
272272
payload = self.construct_payload(
273273
registration_ids, data, collapse_key,
274-
delay_while_idle, time_to_live, dry_run
274+
delay_while_idle, time_to_live, True, dry_run
275275
)
276276
response = self.make_request(payload, is_json=True)
277277
info = self.handle_json_response(response, registration_ids)

0 commit comments

Comments
 (0)