From 491f10a1e0194b4d99a03bc477518eab78697d8b Mon Sep 17 00:00:00 2001 From: mouazkh Date: Sat, 25 Jul 2026 14:58:54 +0300 Subject: [PATCH] fixed some changes in the ccode --- app/utils/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/api.js b/app/utils/api.js index de68de1..1de1edf 100644 --- a/app/utils/api.js +++ b/app/utils/api.js @@ -361,7 +361,7 @@ export async function editRentProperty(id, data) { currencyId: data.currencyId ?? 1, rentType: data.rentType ?? 0, isSmokeAllow: data.isSmokeAllow ?? false, - specializedFor: data.specializedFor ?? null, + specializedFor: data.specializedFor ?? false, isVisitorAllow: data.isVisitorAllow ?? false, allowedPaymentPeriod: data.allowedPaymentPeriod ?? "", type: data.type ?? 0, @@ -369,7 +369,7 @@ export async function editRentProperty(id, data) { return apiFetch(`/RentProperties/EditRentProperty/${id}`, { method: "PUT", - body, + body: { rentPropertyDto: body }, }); }