don't show origin as destination
This commit is contained in:
parent
ddd87d2523
commit
e1192fccf7
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Route:
|
|||
last_node = node
|
||||
return OrderedDict((
|
||||
('origin', describe_location(self.origin, locations)),
|
||||
('destination', describe_location(self.origin, locations)),
|
||||
('destination', describe_location(self.destination, locations)),
|
||||
('distance', round(distance, 2)),
|
||||
('items', tuple(item.serialize(locations=locations) for item in items)),
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue