Sửa lỗi OWNER, MANAGER không thể chia sẻ link

This commit is contained in:
2026-06-16 09:33:15 +07:00
parent 02c493f7e0
commit 63da413b3c
9 changed files with 138 additions and 80 deletions
+4
View File
@@ -358,6 +358,10 @@ class TourController {
},
take: 20,
include: {
participants: {
where: { userId: req.user.id },
select: { role: true }
},
photos: { take: 1 },
legs: {
orderBy: { sequence: 'asc' },