fixed some changes in the ccode
All checks were successful
Build frontend / build (push) Successful in 1m25s

This commit is contained in:
mouazkh
2026-07-25 14:58:54 +03:00
parent f91dfaacad
commit 491f10a1e0

View File

@ -361,7 +361,7 @@ export async function editRentProperty(id, data) {
currencyId: data.currencyId ?? 1, currencyId: data.currencyId ?? 1,
rentType: data.rentType ?? 0, rentType: data.rentType ?? 0,
isSmokeAllow: data.isSmokeAllow ?? false, isSmokeAllow: data.isSmokeAllow ?? false,
specializedFor: data.specializedFor ?? null, specializedFor: data.specializedFor ?? false,
isVisitorAllow: data.isVisitorAllow ?? false, isVisitorAllow: data.isVisitorAllow ?? false,
allowedPaymentPeriod: data.allowedPaymentPeriod ?? "", allowedPaymentPeriod: data.allowedPaymentPeriod ?? "",
type: data.type ?? 0, type: data.type ?? 0,
@ -369,7 +369,7 @@ export async function editRentProperty(id, data) {
return apiFetch(`/RentProperties/EditRentProperty/${id}`, { return apiFetch(`/RentProperties/EditRentProperty/${id}`, {
method: "PUT", method: "PUT",
body, body: { rentPropertyDto: body },
}); });
} }