RED-5357: use current date instead of '0'
This commit is contained in:
parent
028ef0a6c0
commit
d989f7b373
@ -44,7 +44,7 @@ export class DossiersChangesService extends GenericService<Dossier> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hasChangesDetails$(): Observable<IDossierChanges> {
|
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));
|
return this._post<IDossierChanges>(body, `${this._defaultModelPath}/changes/details`).pipe(filter(changes => changes.length > 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 6cac4dd41445ef6aff7dab14c20d046e0f3d30ca
|
Subproject commit 56201f2c5b5d4e1ac1f509b96b892402b41f09cb
|
||||||
Loading…
x
Reference in New Issue
Block a user