When building the request in the Client for autocomplete, the prefer_geolocation is always set to none because the if/else conditional is always returning true :
if lookup.prefer_zip_codes or lookup.zip_filter
Both prefer_zip_coes and zip_filter are empty arrays (the check should be for presence, I have used Array#any in my changes), so it is setting the prefer_geolocation to none. I have a pull request that links to this issue!
When building the request in the Client for autocomplete, the
prefer_geolocation
is always set to none because the if/else conditional is always returning true :Both
prefer_zip_coes
andzip_filter
are empty arrays (the check should be for presence, I have usedArray#any
in my changes), so it is setting theprefer_geolocation
tonone
. I have a pull request that links to this issue!