john-raymon / split

Split - virtual card platform
0 stars 0 forks source link

Bug - api-agent uses same jwt property for user and for ac-user, due to interceptors. #25

Open john-raymon opened 4 years ago

john-raymon commented 4 years ago

I tried updating this but the interceptor initially that sets the main auth token will override the current intercept header setting logic.

The fix will be to do something like this https://github.com/axios/axios/issues/2615