mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
update method signatures to not include system id
This commit is contained in:
@@ -24,7 +24,7 @@ export const ShuttleResolvers: Resolvers<ServerContext> = {
|
||||
const system = contextValue.findSystemById(parent.systemId);
|
||||
if (!system) return null;
|
||||
|
||||
const etasForShuttle = await system.shuttleRepository.getEtas(parent.id);
|
||||
const etasForShuttle = await system.shuttleRepository.getEtasForShuttleId();
|
||||
if (!etasForShuttle) return null;
|
||||
|
||||
const computedEtas = await Promise.all(etasForShuttle.map(async ({
|
||||
|
||||
Reference in New Issue
Block a user