From 28c6b21b48dd3b09e087338d78d8ab2078f74238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Iv=C3=A1n?= <80365304+Diego-lvan@users.noreply.github.com> Date: Wed, 4 Sep 2024 15:37:44 -0600 Subject: [PATCH] corrigiendo ruta --- backend/src/route/route.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/route/route.controller.ts b/backend/src/route/route.controller.ts index bdd21275..0b80465c 100644 --- a/backend/src/route/route.controller.ts +++ b/backend/src/route/route.controller.ts @@ -10,7 +10,7 @@ import { CustomUserRequest } from 'src/auth/user/interface/customUserReq'; export class RouteController { constructor(private readonly routeService: RouteService) {} - @Get('recommend:idTown') + @Get('recommend/:idTown') @ApiQuery({ name: 'lang', type: String }) @ApiParam({ name: 'idTown', type: Number }) @ApiBearerAuth('jwt') -- GitLab