changed directions to walking / public transport

This commit is contained in:
Martin Donnelly 2018-10-11 17:20:40 +01:00
parent 2b7c9b3be0
commit d9155aaca9

View File

@ -44,11 +44,14 @@ function reduceEstDirections(body = '') {
}
for (const item of route)
{
logger.debug(item);
if (item.street !== null) {
const street = item.street.split(',');
if (street[0] !== '') streets.push(street[0]);
}
}
obj.streets = uniq(streets);
}