diff --git a/webapp/.env.template b/webapp/.env.template index 198452e27..1acad49b4 100644 --- a/webapp/.env.template +++ b/webapp/.env.template @@ -1,4 +1,3 @@ -MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g" SENTRY_DSN_WEBAPP= COMMIT= PUBLIC_REGISTRATION=false diff --git a/webapp/graphql/location.js b/webapp/graphql/location.js new file mode 100644 index 000000000..ba47a2983 --- /dev/null +++ b/webapp/graphql/location.js @@ -0,0 +1,10 @@ +import gql from 'graphql-tag' + +export const queryLocations = () => gql` + query($place: String!, $lang: String!) { + queryLocations(place: $place, lang: $lang) { + place_name + id + } + } +` \ No newline at end of file diff --git a/webapp/pages/settings/index.vue b/webapp/pages/settings/index.vue index 9766ab81c..be1c4800f 100644 --- a/webapp/pages/settings/index.vue +++ b/webapp/pages/settings/index.vue @@ -41,17 +41,15 @@