fix: lỗi bong bóng Tour vẫn xuất hiện và điểm kết thúc

This commit is contained in:
2026-06-17 17:33:47 +07:00
parent 1933b58f84
commit bfbbb66747
6 changed files with 52 additions and 8 deletions
+4
View File
@@ -643,6 +643,10 @@ class TourController {
await this.prisma.tour.delete({
where: { id },
});
// Xóa cache explore để Tour biến mất ngay lập tức trên bản đồ cộng đồng
await this.cacheManager.del(`/api/v1/tours/explore`);
return { success: true };
}