Fix: Login deleting old clients was conflicting with login history
Chore: Moved to angular linting using the recommended plugins / settings
This commit is contained in:
@ -15,10 +15,8 @@ export class BatchService {
|
||||
|
||||
autocomplete(date: string, term: string): Observable<Batch[]> {
|
||||
const options = { params: new HttpParams().set('q', term).set('d', date) };
|
||||
return <Observable<Batch[]>>(
|
||||
this.http
|
||||
.get<Batch[]>(url, options)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'autocomplete')))
|
||||
);
|
||||
return this.http
|
||||
.get<Batch[]>(url, options)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'autocomplete'))) as Observable<Batch[]>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user