return geometry from new API

This commit is contained in:
Lauren Budorick 2016-03-30 18:47:11 -07:00 committed by Patrick Niklaus
parent 164fb09f2c
commit 4b60fc4747

View File

@ -68,7 +68,7 @@ module.exports = function () {
}
if (headers.has('geometry')) {
got.geometry = json.route_geometry;
got.geometry = json.routes[0].geometry;
}
if (headers.has('route')) {