mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
Make checkIfShuttleIsAtStop part of the ShuttleGetterRepository interface
This commit is contained in:
@@ -223,7 +223,7 @@ export class UnoptimizedInMemoryShuttleRepository
|
||||
this.shuttlesAtStop.delete(shuttleId);
|
||||
}
|
||||
|
||||
private async checkIfShuttleIsAtStop(shuttleId: string) {
|
||||
public async checkIfShuttleIsAtStop(shuttleId: string) {
|
||||
return this.shuttlesAtStop.has(shuttleId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user