Rename properties in WillArriveAtStopPayload for more clarity
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user