You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that it was not being completely deleted, and after a little digging I came to the conclusion that the setHeader function is returning before going through all the scope.
Good afternoon,
when I want to delete the token in the following way
this.$axios.setToken(false, 'Bearer', [ 'get', 'post', 'delete', 'put', 'patch', ])
I noticed that it was not being completely deleted, and after a little digging I came to the conclusion that the
setHeader
function is returning before going through all the scope.axios-module/lib/plugin.js
Lines 10 to 18 in a9e4867
I propose to change that
return
for acontinue
, because otherwise only the first element of the scope is deleted.Greetings.
The text was updated successfully, but these errors were encountered: