Skip to content

Commit

Permalink
Use final specification for new WebPush subscriptions in web interface (
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Jan 14, 2025
1 parent a9a8b6b commit e2f085e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const unsubscribe = ({ registration, subscription }) =>
subscription ? subscription.unsubscribe().then(() => registration) : registration;

const sendSubscriptionToBackend = (subscription) => {
const params = { subscription };
const params = { subscription: { ...subscription.toJSON(), standard: true } };

if (me) {
const data = pushNotificationsSetting.get(me);
Expand Down

0 comments on commit e2f085e

Please sign in to comment.