Skip to content

Commit

Permalink
CSRF
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDxYk594 committed Nov 26, 2024
1 parent 6011303 commit f6ef403
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/apiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ const fetchApi = async (
!retry
) {
// Повторить запрос, если сбился CSRF-токен
await fetchApi('/users/me', 'GET', undefined, true);
return await fetchApi(addr, method, requestBody, true);
}
return {
Expand Down

0 comments on commit f6ef403

Please sign in to comment.