mirror of
https://github.com/danbulant/Mangades
synced 2026-06-17 05:11:14 +00:00
ignore body
This commit is contained in:
parent
cc6f25bf09
commit
29fcf7ad03
1 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ export const base = "https://api.mangadex.network/";
|
|||
* @param {boolean} body.cached
|
||||
*/
|
||||
async function report(body) {
|
||||
const resp = await fetch(base + "report", {
|
||||
await fetch(base + "report", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
|
|
@ -19,7 +19,6 @@ async function report(body) {
|
|||
mode: "no-cors",
|
||||
body: body ? JSON.stringify(body) : undefined
|
||||
});
|
||||
return await resp.json();
|
||||
}
|
||||
|
||||
export default report;
|
||||
Loading…
Reference in a new issue