fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove testing
[wolnelektury.git]
/
src
/
push
/
utils.py
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 = {}
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(
if image_url:
data['imageUrl'] = image_url
message = messaging.Message(