From ba460148b2292e6f3c6000992734d77d9a7dd82a Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 3 Feb 2021 17:17:09 +0100 Subject: [PATCH] - renamed `Location2` to `LocationMapBox` --- backend/src/schema/types/type/Location.gql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/schema/types/type/Location.gql b/backend/src/schema/types/type/Location.gql index d80c9bebb..fad24cc26 100644 --- a/backend/src/schema/types/type/Location.gql +++ b/backend/src/schema/types/type/Location.gql @@ -16,12 +16,13 @@ type Location { parent: Location @cypher(statement: "MATCH (this)-[:IS_IN]->(l:Location) RETURN l") } -type Location2 { +# This is not smart - we need one location for everything - use the same type everywhere! +type LocationMapBox { id: ID! place_name: String! } type Query { - queryLocations(place: String!, lang: String!): [Location2]! + queryLocations(place: String!, lang: String!): [LocationMapBox]! }