diff --git a/app/common_test.ts b/app/common_test.ts index a7ebe42b388a22c197ad5e5c12c5a310371e71d8..c9b881736df7d65d882a7ecff39e3a58eb22a818 100644 --- a/app/common_test.ts +++ b/app/common_test.ts @@ -33,7 +33,5 @@ export const processGqlRequest = ( // deno-lint-ignore no-explicit-any .then((response: any) => response.json()) // deno-lint-ignore no-explicit-any - .then((response: any) => { - logger.error(JSON.stringify(response.data)) - return response.data}); + .then((response: any) => response.data); }; diff --git a/app/geoapify_test.ts b/app/geoapify_test.ts index a12c2935522ddd7b43c14aad1dbd28bf03590fec..585748bfefcac254e82a99efe60514ed5613cff7 100644 --- a/app/geoapify_test.ts +++ b/app/geoapify_test.ts @@ -104,7 +104,7 @@ describe("places", () => { cacheEnabled: false, cacheTtlMsPlacesAutocomplete: 0, geoapifyApiKey: "", - fake: false + fake: false, }); const places = await queryPlaces( graphQLServer, @@ -128,7 +128,7 @@ describe("placeDetails", () => { cacheEnabled: false, cacheTtlMsPlacesAutocomplete: 0, geoapifyApiKey: "", - fake: false + fake: false, }); const placeDetails = await queryPlaceDetails( graphQLServer, @@ -146,7 +146,7 @@ describe("placeDetails", () => { cacheEnabled: false, cacheTtlMsPlacesAutocomplete: 0, geoapifyApiKey: "", - fake: false + fake: false, }); const placeDetails = await queryPlaceDetails( graphQLServer, @@ -164,7 +164,7 @@ describe("placeDetails", () => { cacheEnabled: false, cacheTtlMsPlacesAutocomplete: 0, geoapifyApiKey: "", - fake: false + fake: false, }); const response = await queryPlaceDetails( diff --git a/app/server.ts b/app/server.ts index 54f1d768f4f39712c2e656d5b00de34ef69dea41..59a43c68f6050de23010e78d0137a94b0b180e22 100644 --- a/app/server.ts +++ b/app/server.ts @@ -34,7 +34,7 @@ const typeDefs = ` type Query { placesAutocomplete(text: String!, limit: Int, level: String): [Place]! - placeDetails(id: String!): PlaceDetails + placeDetails(id: String!): PlaceDetails! } `;