fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d56d7b6
)
add commented out change
author
Jan Szejko
<janek37@gmail.com>
Tue, 4 Sep 2018 12:06:28 +0000
(14:06 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Tue, 4 Sep 2018 12:06:28 +0000
(14:06 +0200)
src/push/utils.py
patch
|
blob
|
history
diff --git
a/src/push/utils.py
b/src/push/utils.py
index
98f0359
..
cd67f9c
100644
(file)
--- a/
src/push/utils.py
+++ b/
src/push/utils.py
@@
-15,6
+15,10
@@
TOPIC = 'wolnelektury'
def send_fcm_push(title, body, image_url=None):
# See documentation on defining a message payload.
data = {}
+ # data = {
+ # 'title': title,
+ # 'body': body,
+ # }
if image_url:
data['imageUrl'] = image_url
message = messaging.Message(