diff --git a/app/owner/properties/add/page.js b/app/owner/properties/add/page.js index 85a2ae1..cf714b1 100644 --- a/app/owner/properties/add/page.js +++ b/app/owner/properties/add/page.js @@ -687,9 +687,6 @@ const handleMapClick = async (coords) => { rentType: rentTypeMap[formData.offerType] ?? RentType.MONTHLY, type: formData.furnished ? RentPropertyType.FURNISHED : RentPropertyType.UNFURNISHED, allowedPaymentPeriod: formData.allowedPaymentPeriod || '', - isSmokeAllow: null, - specializedFor: null, - isVisitorAllow: null, }; console.log('[AddProperty] Rent payload:', JSON.stringify(payload, null, 2)); const res = await addRentProperty(payload); diff --git a/app/owner/properties/page.js b/app/owner/properties/page.js index 65f4e1f..6cf54d9 100644 --- a/app/owner/properties/page.js +++ b/app/owner/properties/page.js @@ -1309,9 +1309,6 @@ export default function OwnerPropertiesPage() { rentType: rentTypeMap[updatedProperty.rentType] ?? 0, type: updatedProperty.furnished ? 0 : 1, allowedPaymentPeriod: "", - isSmokeAllow: null, - specializedFor: null, - isVisitorAllow: null, }; await editRentProperty(updatedProperty.id, payload);