From a40a7f0a63f9babce1cbcf7eda879429f12cf023 Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Sat, 23 Dec 2023 22:37:26 +0200 Subject: [PATCH] deleted header --- src/redux/auth-operations.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redux/auth-operations.js b/src/redux/auth-operations.js index 47e9eaf..b2e55e9 100644 --- a/src/redux/auth-operations.js +++ b/src/redux/auth-operations.js @@ -48,7 +48,6 @@ const authenticationApi = createApi({ query: ({ newPassword, token }) => ({ url: `/change/password/restore?newPassword=${newPassword}&token=${token}`, method: 'PATCH', - headers: { Authorization: `Bearer ${ajwt}` }, }), }), }),