Rename properties in WillArriveAtStopPayload for more clarity

This commit is contained in:
2025-11-18 19:14:29 -08:00
parent 0798773bcb
commit 34b2ab05d4
6 changed files with 20 additions and 20 deletions

View File

@@ -406,8 +406,8 @@ export class RedisShuttleRepository extends BaseRedisRepository implements Shutt
shuttleId: shuttle.id,
};
this.emit(ShuttleRepositoryEvent.SHUTTLE_WILL_ARRIVE_AT_STOP, {
lastArrival: lastStop,
currentArrival: shuttleArrival,
lastStopArrival: lastStop,
willArriveAt: shuttleArrival,
});
await this.updateShuttleLastStopArrival(shuttleArrival);
}