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

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,
}),
});
}