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

@@ -179,8 +179,8 @@ export class RedisSelfUpdatingETARepository extends BaseRedisETARepository imple
private async handleShuttleWillArriveAtStop({
lastArrival,
currentArrival,
lastStopArrival: lastArrival,
willArriveAt: currentArrival,
}: WillArriveAtStopPayload) {
// only update time traveled if last arrival exists
if (lastArrival) {