push notifications fix
This commit is contained in:
parent
8ec2e91f55
commit
f11449eb6f
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user