Sửa lỗi frontend không load dược danh sách thêm thành viên

This commit is contained in:
2026-06-15 18:27:54 +07:00
parent 34e2af8825
commit 71f4aa9ecd
5 changed files with 16 additions and 22 deletions
+4 -4
View File
@@ -587,7 +587,7 @@ class TourController {
}
}
@Controller('v1/locations')
@Controller('locations')
@UseGuards(JwtAuthGuard)
class LocationController {
constructor(private prisma: PrismaService) {}
@@ -644,7 +644,7 @@ class LocationController {
}
}
@Controller('v1/legs')
@Controller('legs')
@UseGuards(JwtAuthGuard)
class LegController {
constructor(private prisma: PrismaService) {}
@@ -688,7 +688,7 @@ function calculateDistance(lat1: number, lon1: number, lat2: number, lon2: numbe
return 12742 * Math.asin(Math.sqrt(a)); // 2 * R; R = 6371 km
}
@Controller('v1/routing')
@Controller('routing')
class RoutingController {
constructor(private prisma: PrismaService) {}
@@ -801,7 +801,7 @@ class RoutingController {
}
}
@Controller('v1/users')
@Controller('users')
class UserController {
constructor(private prisma: PrismaService) {}