Cài đặt tính năng thay đổi tên và mô tả tour
This commit is contained in:
Vendored
+1
@@ -330,6 +330,7 @@ let TourController = class TourController {
|
||||
where: { id },
|
||||
data: {
|
||||
title: body.title,
|
||||
description: body.description,
|
||||
startDate: body.startDate ? new Date(body.startDate) : undefined,
|
||||
endDate: body.endDate ? new Date(body.endDate) : undefined,
|
||||
adultCount: body.adultCount !== undefined ? Number(body.adultCount) : undefined,
|
||||
|
||||
Reference in New Issue
Block a user