From f11449eb6f24593a58e7c052a2cb649a3147a92a Mon Sep 17 00:00:00 2001 From: timotheyca Date: Fri, 14 Aug 2020 02:12:37 +0300 Subject: [PATCH] push notifications fix --- v25/storage/dbstorage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v25/storage/dbstorage.py b/v25/storage/dbstorage.py index 7f383d6..77bed01 100644 --- a/v25/storage/dbstorage.py +++ b/v25/storage/dbstorage.py @@ -339,7 +339,9 @@ class DBStorage(PushStorage): assert requests.post('http://localhost:5025/api/push', json={ "subscription": subscription, "notification": { - "title": "New Message (V25PUSH)" + "notification": { + "title": "New Message (V25PUSH)" + } } }).status_code == 200, "push failed"