Browse Source

Fix for Pelias/Pelias#670

pull/1165/head
Tyler Pedelose 7 years ago committed by Julian Simioni
parent
commit
68c067ee8c
No known key found for this signature in database
GPG Key ID: B9EEB0C6EE0910A1
  1. 10
      routes/v1.js

10
routes/v1.js

@ -166,11 +166,11 @@ function addRoutes(app, peliasConfig) {
hasRequestCategories hasRequestCategories
) )
), ),
any( isRequestSourcesOnlyWhosOnFirst
// only geodisambiguate if libpostal returned only admin areas or libpostal was skipped // all(
isAdminOnlyAnalysis, // only geodisambiguate if libpostal was skipped libpostal returned only admin areas or
isRequestSourcesOnlyWhosOnFirst // isAdminOnlyAnalysis,
) // )
); );
// execute placeholder if libpostal identified address parts but ids need to // execute placeholder if libpostal identified address parts but ids need to

Loading…
Cancel
Save