api/src/modules/geo-coding/geocoders/google-maps.geocoder.ts
Function geocode
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async geocode(args: GeocodeArgs): Promise<GeocodeResponseData> {
if (!this.apiKey) {
this.logger.error(
'Google API key missing when attempting to geocode location. Cannot process request.',
);