Make checkIfShuttleIsAtStop part of the ShuttleGetterRepository interface

This commit is contained in:
2025-11-20 17:48:49 -08:00
parent ddab9b96ff
commit 37fbc3ef45
3 changed files with 10 additions and 2 deletions

View File

@@ -447,7 +447,7 @@ export class RedisShuttleRepository extends BaseRedisRepository implements Shutt
await this.redisClient.sRem(this.shuttleIsAtStopKey, shuttleId);
}
private async checkIfShuttleIsAtStop(shuttleId: string) {
public async checkIfShuttleIsAtStop(shuttleId: string) {
return await this.redisClient.sIsMember(this.shuttleIsAtStopKey, shuttleId);
}