Remove redundant check for 'encoding' in push notification body
This commit is contained in:
parent
9e56ff8494
commit
e49062a9db
@ -33,7 +33,6 @@ class PushView(BaseFormView):
|
|||||||
|
|
||||||
if not all(
|
if not all(
|
||||||
[
|
[
|
||||||
"encoding" in body,
|
|
||||||
"endpoint" in body,
|
"endpoint" in body,
|
||||||
"keys" in body,
|
"keys" in body,
|
||||||
"p256dh" in body["keys"],
|
"p256dh" in body["keys"],
|
||||||
|
Loading…
Reference in New Issue
Block a user