forked from retoor/snek
fix: remove redundant encoding field check from push notification body validation
This commit is contained in:
@@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user