Skip to content

Commit 2999f52

Browse files
committed
Add comment to unsubscribe expired push subscriptions
1 parent 9286a96 commit 2999f52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/send_push_notification.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@
2424
$subscription['token'],
2525
true
2626
);
27+
28+
// handle eventual errors here, and remove the subscription from your server if it is expired

0 commit comments

Comments
 (0)