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:
parent
8ccfa5c3fb
commit
390d42c607
6 changed files with 13 additions and 11 deletions
web/src/app
|
@ -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,
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue