BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

pass the config parameter to axios to attach auth headers

Open birla opened this issue 4 years ago • 0 comments

Fixes #3610

Proposed Changes

Headers (Bearer token) were not being set in the axios request even though they were passed as a pram to the function. Also as responseType is also set in the config variable, removing the duplicate here.

Evidence that the code works: image

birla avatar Nov 24 '21 12:11 birla