Closed bjabbar closed 7 years ago
Requests are sending twice
@Injectable() export class AuthInterceptor implements IHttpInterceptor { constructor(private loggedInUserApi: LoggedInUserApi) { } // before sending request. before(request: Request): Request { return request; } // after getting response. after(res: Observable<Response>): Observable<any> { res.subscribe(response => this.loggedInUserApi.checkSession(response.headers)); return res; } }
Found a similar issue is fixed earlier , seems its back again
posted in wrong package
Requests are sending twice
Found a similar issue is fixed earlier , seems its back again