cyril.tsui 1 anno fa
parent
commit
66bfe735b2
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      src/auth/index.js

+ 0
- 1
src/auth/index.js Vedi File

@@ -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


Caricamento…
Annulla
Salva