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:
1 parent
d5048bc455
commit
57ef355170
176 files changed
+940
-831
No files matched your search
@@ -19,10 +19,8 @@ export class PurchaseEntriesService {
|
||||
list(startDate: string | null, finishDate: string | null): Observable<PurchaseEntries> {
|
||||
const startDateWithSlash = startDate ? `/${startDate}` : '';
|
||||
const finishDateWithSlash = finishDate ? `/${finishDate}` : '';
|
||||
return <Observable<PurchaseEntries>>(
|
||||
this.http
|
||||
.get<PurchaseEntries>(`${url}${startDateWithSlash}${finishDateWithSlash}`)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'list')))
|
||||
);
|
||||
return this.http
|
||||
.get<PurchaseEntries>(`${url}${startDateWithSlash}${finishDateWithSlash}`)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'list'))) as Observable<PurchaseEntries>;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user