From bbec2ed477be43a7db9e9350d53bedc523166595 Mon Sep 17 00:00:00 2001 From: Parker Date: Tue, 23 Jul 2019 14:40:43 -0400 Subject: [PATCH] fix(geocode): ensure the magicKey property is passed through. AFFECTS PACKAGES: @esri/arcgis-rest-geocoding ISSUES CLOSED: #601 --- packages/arcgis-rest-geocoding/src/geocode.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/arcgis-rest-geocoding/src/geocode.ts b/packages/arcgis-rest-geocoding/src/geocode.ts index 115f9a3292..b3bbc398a7 100644 --- a/packages/arcgis-rest-geocoding/src/geocode.ts +++ b/packages/arcgis-rest-geocoding/src/geocode.ts @@ -102,7 +102,8 @@ export function geocode( "region", "postal", "postalExt", - "countryCode" + "countryCode", + "magicKey" ], { params: { ...address.params } } );