1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-07-06 02:54:43 +02:00

Format & fix lint

This commit is contained in:
nimbleghost 2023-06-13 14:02:54 +02:00
parent 8ccfa5c3fb
commit 390d42c607
6 changed files with 13 additions and 11 deletions
web/src/app

View file

@ -132,7 +132,6 @@ class Api {
});
}
async deleteWebPush(pushSubscription) {
const user = await userManager.get(config.base_url);
const url = accountWebPushUrl(config.base_url);
@ -141,7 +140,7 @@ class Api {
method: "DELETE",
headers: maybeWithAuth({}, user),
body: JSON.stringify({
endpoint: pushSubscription.endpoint
endpoint: pushSubscription.endpoint,
}),
});
}