Cài đặt tính năng thay đổi tên và mô tả tour

This commit is contained in:
2026-06-15 21:22:05 +07:00
parent aec9112064
commit dcaf71032c
5 changed files with 6 additions and 1 deletions
+1
View File
@@ -324,6 +324,7 @@ 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,