add commented out change
authorJan Szejko <janek37@gmail.com>
Tue, 4 Sep 2018 12:06:28 +0000 (14:06 +0200)
committerJan Szejko <janek37@gmail.com>
Tue, 4 Sep 2018 12:06:28 +0000 (14:06 +0200)
src/push/utils.py

index 98f0359..cd67f9c 100644 (file)
@@ -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(