From 3dba7de55bd328b2f8ae50464944b60c27dfe22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Iv=C3=A1n?= <80365304+Diego-lvan@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:35:44 -0600 Subject: [PATCH] fix --- backend/src/route/route.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/route/route.service.ts b/backend/src/route/route.service.ts index 42d58c47..38764976 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(); -- GitLab