mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
fix spacing for RouteResolvers.Route
This commit is contained in:
@@ -7,10 +7,10 @@ export const RouteResolvers: Resolvers<ServerContext> = {
|
|||||||
const shuttles = await contextValue.repository.getShuttlesByRouteId(parent.id);
|
const shuttles = await contextValue.repository.getShuttlesByRouteId(parent.id);
|
||||||
|
|
||||||
return shuttles.map(({
|
return shuttles.map(({
|
||||||
coordinates,
|
coordinates,
|
||||||
name,
|
name,
|
||||||
id,
|
id,
|
||||||
}) => ({
|
}) => ({
|
||||||
coordinates: coordinates as Coordinates,
|
coordinates: coordinates as Coordinates,
|
||||||
name,
|
name,
|
||||||
route: parent,
|
route: parent,
|
||||||
|
|||||||
Reference in New Issue
Block a user