overseerr
overseerr copied to clipboard
fix: delete endpoint on push notification disable
Description
Quick PR that deletes the current endpoint on the users device when disabling the push subscription. Added a check on the backend in case the endpoint doesn't match to prevent any errors (it's possible there is a scenario where the endpoint has changed due to it being refreshed).
- Will prevent rare scenarios where user can enable/disable a few times and load the DB
Screenshot (if UI-related)
N/A
To-Dos
- [x] Successful build
yarn build
overseerr
Run #2874
Run Properties:
Passed #2874 •
805d539619: fix: delete endpoint on push notification disable
| Project |
overseerr
|
| Branch Review |
refs/pull/4222/merge
|
| Run status |
|
| Run duration | 02m 17s |
| Commit |
|
| Committer | Brandon Cohen |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
28
|
| View all changes introduced in this branch ↗︎ | |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.