diff --git a/backend/src/route/route.service.ts b/backend/src/route/route.service.ts index 42d58c471d4bef51b89f71581871870bc96fd220..3876497685a22b41bcdbc3f01bb878abeb775640 100644 --- a/backend/src/route/route.service.ts +++ b/backend/src/route/route.service.ts @@ -150,7 +150,7 @@ export class RouteService { .leftJoinAndSelect('route.travelPlace', 'travelPlace') .leftJoinAndSelect('travelPlace.place', 'place') .leftJoinAndSelect('place.visited', 'visited') - .leftJoinAndSelect('place.town', 'town') + .leftJoinAndSelect('route.town', 'town') .where('route.idRoute = :idRoute', { idRoute }) .getOne();