fix errors, change logo

This commit is contained in:
Victor Batischev
2023-12-04 18:01:04 +03:00
parent 887656da3b
commit 5bfc953ecc
33 changed files with 139 additions and 136 deletions

View File

@ -19,7 +19,7 @@ export const apiRequest = (
"Access-Control-Allow-Origin": "*",
"Content-Type": "application/json",
},
} = {}
} = {},
) => {
const fullHeaders = { ...headers, ...getToken() };
let urWithParams = urlHasParams(url);
@ -41,7 +41,7 @@ export const apiRequest = (
// dispatch(auth(false));
}
return resolve(response);
})
}),
)
.then((response) => new Promise((resolve) => resolve(response.data)));
};