fix / dont dispay not actual items

This commit is contained in:
2025-05-23 15:49:00 +03:00
parent b2b88d1947
commit f745a47cdb
3 changed files with 11 additions and 9 deletions

View File

@@ -103,14 +103,12 @@ class HomePageRouteSerializer(RouteSerializer):
def get_country_from(self, obj):
return self.get_from_country_name(obj)
def get_end_point(self, obj):
return self.get_to_city_name(obj)
def get_country_to(self, obj):
return self.get_to_country_name(obj)
def get_cargo_type(self, obj):
return self.get_formatted_cargo_type(obj)