fixed the details
All checks were successful
Build frontend / build (push) Successful in 1m36s

This commit is contained in:
mouazkh
2026-05-26 02:59:20 +03:00
parent f91c78f759
commit 5045e69191
2 changed files with 0 additions and 6 deletions

View File

@ -687,9 +687,6 @@ const handleMapClick = async (coords) => {
rentType: rentTypeMap[formData.offerType] ?? RentType.MONTHLY, rentType: rentTypeMap[formData.offerType] ?? RentType.MONTHLY,
type: formData.furnished ? RentPropertyType.FURNISHED : RentPropertyType.UNFURNISHED, type: formData.furnished ? RentPropertyType.FURNISHED : RentPropertyType.UNFURNISHED,
allowedPaymentPeriod: formData.allowedPaymentPeriod || '', allowedPaymentPeriod: formData.allowedPaymentPeriod || '',
isSmokeAllow: null,
specializedFor: null,
isVisitorAllow: null,
}; };
console.log('[AddProperty] Rent payload:', JSON.stringify(payload, null, 2)); console.log('[AddProperty] Rent payload:', JSON.stringify(payload, null, 2));
const res = await addRentProperty(payload); const res = await addRentProperty(payload);

View File

@ -1309,9 +1309,6 @@ export default function OwnerPropertiesPage() {
rentType: rentTypeMap[updatedProperty.rentType] ?? 0, rentType: rentTypeMap[updatedProperty.rentType] ?? 0,
type: updatedProperty.furnished ? 0 : 1, type: updatedProperty.furnished ? 0 : 1,
allowedPaymentPeriod: "", allowedPaymentPeriod: "",
isSmokeAllow: null,
specializedFor: null,
isVisitorAllow: null,
}; };
await editRentProperty(updatedProperty.id, payload); await editRentProperty(updatedProperty.id, payload);