diff --git a/client/services/axios.ts b/client/services/axios.ts index d5be11b19..425dc5b6c 100644 --- a/client/services/axios.ts +++ b/client/services/axios.ts @@ -19,6 +19,7 @@ const axios = _axios.create({ baseURL }); axios.interceptors.request.use((config) => { const { accessToken } = store.getState().auth; + // @ts-ignore config.headers = { ...config.headers, Authorization: `Bearer ${accessToken}`,