From 66bfe735b21c6e34a2b28db84f2f25cf7c9acf4a Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Thu, 26 Oct 2023 14:46:46 +0800 Subject: [PATCH] update --- src/auth/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/auth/index.js b/src/auth/index.js index f2a12a6..e031d74 100644 --- a/src/auth/index.js +++ b/src/auth/index.js @@ -110,7 +110,6 @@ export const SetupAxiosInterceptors = () => { // ** If token is present add it to request's Authorization Header if (isUserLoggedIn()) { config.headers.Authorization = `${jwtApplicationConfig.tokenType} ${accessToken}` - config.data = config.data === undefined ? JSON.stringify({refreshToken:null}) : config.data } config.headers['X-Authorization'] = process.env.REACT_APP_API_KEY return config