1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

refactor(js): remove RequestBuilder

This commit is contained in:
Frédéric Guillot 2025-08-02 15:07:56 -07:00
parent bbe3c2ea71
commit 4910f1f0f4
4 changed files with 28 additions and 86 deletions

View file

@ -52,14 +52,7 @@ class WebAuthnHandler {
url += "?username=" + username;
}
return fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Csrf-Token": getCsrfToken()
},
body: JSON.stringify(data),
});
return sendPOSTRequest(url, data);
}
async get(urlKey, username) {