Sửa lỗi OWNER, MANAGER không thể chia sẻ link
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user