mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +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);
|
this.emit(ShuttleRepositoryEvent.SHUTTLE_REMOVED, shuttle);
|
||||||
|
|
||||||
await this.removeShuttleLastStopIfExists(shuttleId);
|
await this.removeShuttleLastStopIfExists(shuttleId);
|
||||||
|
await this.markShuttleAsNotAtStop(shuttleId);
|
||||||
|
|
||||||
return shuttle;
|
return shuttle;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user