mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
Make checkIfShuttleIsAtStop part of the ShuttleGetterRepository interface
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user