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