update the time of the data update

This commit is contained in:
2025-04-29 16:06:15 -07:00
parent 6e03dc7fe3
commit f1dd8650b6
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
export interface IEntityWithOptionalTimestamp {
millisecondsSinceEpoch?: number;
updateTimeMs?: number;
}
export interface IEntityWithId {

View File

@@ -221,7 +221,7 @@ export class ApiBasedShuttleRepositoryLoader implements ShuttleRepositoryLoader
secondsRemaining: jsonEta.secondsSpent,
shuttleId: `${shuttleId}`,
stopId: stopId,
millisecondsSinceEpoch: Date.now(),
updateTimeMs: Date.now(),
systemId: this.systemIdForConstructedData,
};