use current date instead of '0'

This commit is contained in:
Dan Percic 2022-10-12 23:01:48 +03:00
parent 6cac4dd414
commit 56201f2c5b

View File

@ -23,7 +23,7 @@ export interface QueryParam {
*/
export abstract class GenericService<I> {
protected readonly _http = inject(HttpClient);
protected readonly _lastCheckedForChanges = new Map<string, string>([[ROOT_CHANGES_KEY, '0']]);
protected readonly _lastCheckedForChanges = new Map<string, string>([[ROOT_CHANGES_KEY, new Date().toISOString()]]);
protected abstract readonly _defaultModelPath: string;
get<T = I[]>(): Observable<T>;