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
@@ -27,7 +27,7 @@ localStorageCSRFKey) {
"Content-Type": "application/json",
};
if (csrf && csrfValue) {
finalHeaders[`'${csrfValue.replace(/\"/g, "")}'`] = "true";
finalHeaders[`${csrfValue.replace(/\"/g, "")}`] = "true";
}
if (typeof options === "string") {
try {