changed directions to walking / public transport
This commit is contained in:
parent
2b7c9b3be0
commit
d9155aaca9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user