fixed some changes in the ccode
All checks were successful
Build frontend / build (push) Successful in 1m25s
All checks were successful
Build frontend / build (push) Successful in 1m25s
This commit is contained in:
@ -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 },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user