Update resolvers to use the ETA repository

This commit is contained in:
2025-11-11 15:30:52 -08:00
parent 90041555a9
commit fd59f6cbd9
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ export const StopResolvers: Resolvers<ServerContext> = {
if (!system) {
return [];
}
const etas = await system.shuttleRepository.getEtasForStopId(parent.id);
const etas = await system.etaRepository.getEtasForStopId(parent.id);
return etas.slice().sort((a, b) => a.secondsRemaining - b.secondsRemaining);
},
},