RED-5357: use current date instead of '0'

This commit is contained in:
Dan Percic 2022-10-12 23:02:24 +03:00
parent 028ef0a6c0
commit d989f7b373
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export class DossiersChangesService extends GenericService<Dossier> {
}
hasChangesDetails$(): Observable<IDossierChanges> {
const body = { value: this._lastCheckedForChanges.get('root') ?? '0' };
const body = { value: this._lastCheckedForChanges.get('root') ?? new Date().toISOString() };
return this._post<IDossierChanges>(body, `${this._defaultModelPath}/changes/details`).pipe(filter(changes => changes.length > 0));
}

@ -1 +1 @@
Subproject commit 6cac4dd41445ef6aff7dab14c20d046e0f3d30ca
Subproject commit 56201f2c5b5d4e1ac1f509b96b892402b41f09cb