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
@@ -765,7 +765,7 @@ __decorate([
__metadata("design:returntype", Promise)
], LocationController.prototype, "deleteLocation", null);
LocationController = __decorate([
(0, common_1.Controller)('v1/locations'),
(0, common_1.Controller)('locations'),
(0, common_1.UseGuards)(jwt_auth_guard_1.JwtAuthGuard),
__metadata("design:paramtypes", [prisma_service_1.PrismaService])
], LocationController);
@@ -810,7 +810,7 @@ __decorate([
__metadata("design:returntype", Promise)
], LegController.prototype, "deleteLeg", null);
LegController = __decorate([
(0, common_1.Controller)('v1/legs'),
(0, common_1.Controller)('legs'),
(0, common_1.UseGuards)(jwt_auth_guard_1.JwtAuthGuard),
__metadata("design:paramtypes", [prisma_service_1.PrismaService])
], LegController);
@@ -912,7 +912,7 @@ __decorate([
__metadata("design:returntype", Promise)
], RoutingController.prototype, "optimize", null);
RoutingController = __decorate([
(0, common_1.Controller)('v1/routing'),
(0, common_1.Controller)('routing'),
__metadata("design:paramtypes", [prisma_service_1.PrismaService])
], RoutingController);
let UserController = class UserController {
@@ -1001,7 +1001,7 @@ __decorate([
__metadata("design:returntype", Promise)
], UserController.prototype, "toggleBlock", null);
UserController = __decorate([
(0, common_1.Controller)('v1/users'),
(0, common_1.Controller)('users'),
__metadata("design:paramtypes", [prisma_service_1.PrismaService])
], UserController);
let AppModule = class AppModule {