PyAPNs2 icon indicating copy to clipboard operation
PyAPNs2 copied to clipboard

Add push_type argument for client.send_notification

Open namrata93 opened this issue 5 years ago • 1 comments

Add a push_type argument to client.send_notification. Currently I have to make use of the code to deduce the push_type from the topic, which is forcing me to create a topic when I think it's easier to just pass in the push_type

This argument is already present in the method client.send_notification_batch so simply mimicking it.

namrata93 avatar Sep 29 '20 01:09 namrata93

Hi

Thanks for contribution! Can you fix indentation to not use mixed tab/spaces?

Pr0Ger avatar Sep 30 '20 10:09 Pr0Ger