I\'m in the proces of adding an interceptor to my angular 6 project. To make calls to my API, I need to add a bearer token to all calls. Unfortunately the interceptor does n
In my case, I had to import both HTTP_INTERCEPTORS, HttpClientModule in same module.
HTTP_INTERCEPTORS, HttpClientModule