cyril.tsui преди 1 година
родител
ревизия
66bfe735b2
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. +0
    -1
      src/auth/index.js

+ 0
- 1
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


Зареждане…
Отказ
Запис