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:
@ -18,10 +18,8 @@ export class ClosingStockService {
|
||||
|
||||
list(date: string | null): Observable<ClosingStock> {
|
||||
const listUrl = date === null ? url : `${url}/${date}`;
|
||||
return <Observable<ClosingStock>>(
|
||||
this.http
|
||||
.get<ClosingStock>(listUrl)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'list')))
|
||||
);
|
||||
return this.http
|
||||
.get<ClosingStock>(listUrl)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'list'))) as Observable<ClosingStock>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user