Skip to content

Commit

Permalink
Merge pull request olucurious#128 from olucurious/develop
Browse files Browse the repository at this point in the history
Fixed issue with notification extra kwargs
  • Loading branch information
olucurious authored Apr 7, 2017
2 parents 433993b + c9e4bad commit 3918a0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,11 @@ v1.2.3 (09-02-2017)
- Added support for checking for and returning valid registration ids, useful for cleaning up database

.. _baali: https://github.com/baali


v1.2.9 (07-04-2017)
-------------------

- Fixed issue with notification extra kwargs

.. _Emmanuel Olucurious: https://github.com/olucurious
2 changes: 1 addition & 1 deletion pyfcm/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__summary__ = 'Python client for FCM - Firebase Cloud Messaging (Android & iOS)..'
__url__ = 'https://github.com/olucurious/pyfcm'

__version__ = '1.2.8'
__version__ = '1.2.9'

__install_requires__ = ['requests', 'requests-toolbelt']

Expand Down
2 changes: 1 addition & 1 deletion pyfcm/baseapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def parse_payload(self,
fcm_payload['notification']['sound'] = sound

if extra_kwargs:
fcm_payload.update(extra_kwargs)
fcm_payload['notification'].update(extra_kwargs)

return self.json_dumps(fcm_payload)

Expand Down

0 comments on commit 3918a0a

Please sign in to comment.