Skip to content

Commit

Permalink
Fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed May 12, 2022
1 parent 23fd5a6 commit ab56dc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const getAxiosInstance = ({
if (!accessToken) {
throw new Error(`Unable to retrieve access token for connectorId: ${connectorId}`);
}
axiosConfig.headers.Authorization = accessToken;
axiosConfig.headers = { ...axiosConfig.headers, Authorization: accessToken };
return axiosConfig;
},
(error) => {
Expand Down

0 comments on commit ab56dc5

Please sign in to comment.