mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2025-01-18 19:44:05 +01:00
Use final specification for new WebPush subscriptions in web interface (#33587)
This commit is contained in:
parent
a9a8b6b701
commit
e2f085e2b2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const unsubscribe = ({ registration, subscription }) =>
|
||||||
subscription ? subscription.unsubscribe().then(() => registration) : registration;
|
subscription ? subscription.unsubscribe().then(() => registration) : registration;
|
||||||
|
|
||||||
const sendSubscriptionToBackend = (subscription) => {
|
const sendSubscriptionToBackend = (subscription) => {
|
||||||
const params = { subscription };
|
const params = { subscription: { ...subscription.toJSON(), standard: true } };
|
||||||
|
|
||||||
if (me) {
|
if (me) {
|
||||||
const data = pushNotificationsSetting.get(me);
|
const data = pushNotificationsSetting.get(me);
|
||||||
|
|
Loading…
Reference in a new issue