mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
Mark shuttle as not at stop when removing a shuttle
This commit is contained in:
@@ -556,6 +556,7 @@ export class RedisShuttleRepository extends BaseRedisRepository implements Shutt
|
||||
this.emit(ShuttleRepositoryEvent.SHUTTLE_REMOVED, shuttle);
|
||||
|
||||
await this.removeShuttleLastStopIfExists(shuttleId);
|
||||
await this.markShuttleAsNotAtStop(shuttleId);
|
||||
|
||||
return shuttle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user