diff --git a/src/util/report.js b/src/util/report.js index 6d0d07f..bb7f720 100644 --- a/src/util/report.js +++ b/src/util/report.js @@ -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; \ No newline at end of file