Sửa hiển thị tên/email của người thanh toán
This commit is contained in:
Vendored
+7
-1
@@ -305,7 +305,13 @@ let TourController = class TourController {
|
||||
const tour = await this.prisma.tour.findUnique({
|
||||
where: { id },
|
||||
include: {
|
||||
participants: true,
|
||||
participants: {
|
||||
include: {
|
||||
user: {
|
||||
select: { id: true, name: true, email: true }
|
||||
}
|
||||
}
|
||||
},
|
||||
photos: true,
|
||||
legs: {
|
||||
orderBy: { sequence: 'asc' },
|
||||
|
||||
Reference in New Issue
Block a user