Skip to content

Commit

Permalink
ignore axios ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Oct 7, 2022
1 parent 615eb3a commit eed3b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/services/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit eed3b76

Please sign in to comment.