Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ngOnInit() {
this.notifier.action$
.pipe(
ofType('success'),
filterMethod('DELETE'),
untilDestroyed(this)
)
.subscribe(v => console.log(v));
this.postsService
.get({
mapResponseFn: res => {
return res;
}
})
.subscribe();
this.loaders.deleteEntity(3);
}
ngOnInit() {
this.notifier.action$
.pipe(
ofType('success'),
filterMethod('DELETE'),
untilDestroyed(this)
)
.subscribe(v => console.log(v));
this.postsService
.get({
mapResponseFn: res => {
return res;
}
})
.subscribe();
this.loaders.deleteEntity(3);
}
useFactory: function() {
return {
baseUrl: 'https://jsonplaceholder.typicode.com',
httpMethods: {
PUT: HttpMethod.PATCH
}
} as NgEntityServiceGlobalConfig;
},
deps: []