import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { NgxPfeModule } from '@allianz/ngx-pfe';
import { TrackingHttpInterceptorService } from './http-interceptor.service';
import { PfeTrackingService } from './tracking.service';
@NgModule({
imports: [NgxPfeModule],
providers: [
PfeTrackingService,
{
provide: HTTP_INTERCEPTORS,
useClass: TrackingHttpInterceptorService,
multi: true,
},
],
})
export class PfeTrackingModule {
constructor(private pfeTrackingService: PfeTrackingService) {}
}