diff --git a/src/c3nav/routing/route.py b/src/c3nav/routing/route.py index 4f883618..44b41e9e 100644 --- a/src/c3nav/routing/route.py +++ b/src/c3nav/routing/route.py @@ -241,7 +241,7 @@ class RouteItem: ('waytype', (self.route.router.waytypes[self.edge.waytype] if self.edge and self.edge.waytype else None)), )) if self.waytype: - result['waytype'] = self.waytype.serialize(detailed=False) + result['waytype'] = self.waytype if self.new_space: result['space'] = describe_location(self.space, self.route.visible_locations)