Skip to content

Commit

Permalink
[Glitch] Use final specification for new WebPush subscriptions in web…
Browse files Browse the repository at this point in the history
… interface

Port e2f085e to glitch-soc

Signed-off-by: Claire <[email protected]>
  • Loading branch information
ClearlyClaire committed Jan 14, 2025
1 parent ab152eb commit 563ff91
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 563ff91

Please sign in to comment.