Updates
This commit is contained in:
@@ -40,7 +40,9 @@ export default async function fetchApi(
|
||||
): Promise<any> {
|
||||
let data;
|
||||
|
||||
const csrfValue = localStorage.getItem(localStorageCSRFKey || "csrf");
|
||||
const csrfValue = localStorage.getItem(
|
||||
localStorageCSRFKey || getCsrfHeaderName()
|
||||
);
|
||||
|
||||
let finalHeaders = {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Reference in New Issue
Block a user