We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdecbff commit 8a12e24Copy full SHA for 8a12e24
files/en-us/web/api/pushsubscription/index.md
@@ -71,7 +71,7 @@ const subscriptionObject = {
71
// Stringify the object an post to the app server
72
fetch(`https://example.com/push/`, {
73
method: "post",
74
- body: JSON.stringify(pushSubscription);
+ body: JSON.stringify(subscriptionObject);
75
});
76
```
77
0 commit comments