diff --git a/pyfcm/__meta__.py b/pyfcm/__meta__.py index 05c3676..4465f4c 100644 --- a/pyfcm/__meta__.py +++ b/pyfcm/__meta__.py @@ -2,7 +2,7 @@ __summary__ = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)" __url__ = "https://github.com/olucurious/pyfcm" -__version__ = "2.0.1" +__version__ = "2.0.2" __author__ = "Emmanuel Adegbite" __email__ = "olucurious@gmail.com" diff --git a/pyfcm/fcm.py b/pyfcm/fcm.py index b4560c0..e340f40 100644 --- a/pyfcm/fcm.py +++ b/pyfcm/fcm.py @@ -77,5 +77,4 @@ def async_notify_multiple_devices(self, params_list=None, timeout=5): if params_list is None: params_list = [] - payloads = [self.parse_payload(**params) for params in params_list] - return self.send_async_request(payloads=payloads, timeout=timeout) + return self.send_async_request(params_list=params_list, timeout=timeout) diff --git a/requirements.txt b/requirements.txt index 1a0f2d4..c1e330e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ pyasn1==0.6.0 pyasn1-modules==0.4.0 rsa==4.9 requests>=2.6.0 -urllib3==1.26.5 +urllib3==1.26.19 pytest-mock==3.14.0 +