Skip to content

Commit

Permalink
Update PushSubscription code example
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoordsij authored Jan 13, 2025
1 parent 5e4aa22 commit 84a6e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/pushsubscription/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const subscriptionObject = {
// Stringify the object an post to the app server
fetch(`https://example.com/push/`, {
method: "post",
body: JSON.stringify(pushSubscription);
body: JSON.stringify(subscriptionObject);
});
```

Expand Down

0 comments on commit 84a6e2c

Please sign in to comment.