push notifications fix

This commit is contained in:
AF 2020-08-14 02:12:37 +03:00
parent 8ec2e91f55
commit f11449eb6f

View File

@ -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"