This commit is contained in:
Benjamin Toby
2025-01-14 08:01:19 +01:00
parent 87c7b4a83b
commit 285d3b8369
5 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export default async function fetchApi(
} as FetchHeader;
if (csrf && csrfValue) {
finalHeaders[`'${csrfValue.replace(/\"/g, "")}'`] = "true";
finalHeaders[`${csrfValue.replace(/\"/g, "")}`] = "true";
}
if (typeof options === "string") {