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
)
),
any(
// only geodisambiguate if libpostal returned only admin areas or libpostal was skipped
isAdminOnlyAnalysis,
isRequestSourcesOnlyWhosOnFirst
)
isRequestSourcesOnlyWhosOnFirst
// all(
// only geodisambiguate if libpostal was skipped libpostal returned only admin areas or
// isAdminOnlyAnalysis,
// )
);
// execute placeholder if libpostal identified address parts but ids need to

Loading…
Cancel
Save