check_receipts_multiple (and its many callers) should return PushReceipt objects, instead it seems to return PushTicket objects.
Fortunately they are almost identical, almost same attributes etc. (if it quacks like a duck ...), yet to be fixed.
|
PushTicket(push_message=PushMessage(), |
PushTicket(push_message=PushMessage(),
status=val.get('status', PushTicket.ERROR_STATUS),
message=val.get('message', ''),
details=val.get('details', None),
id=r_id))
should become
PushReceipt(
status=val.get('status', PushTicket.ERROR_STATUS),
message=val.get('message', ''),
details=val.get('details', None),
id=r_id))
removing the push_message part which is nonsense (and not a receipt prop).
check_receipts_multiple(and its many callers) should returnPushReceiptobjects, instead it seems to returnPushTicketobjects.Fortunately they are almost identical, almost same attributes etc. (if it quacks like a duck ...), yet to be fixed.
expo-server-sdk-python/exponent_server_sdk/__init__.py
Line 514 in f7f1317
should become
removing the
push_messagepart which is nonsense (and not a receipt prop).