From 5045e69191e06b0684cd8a00359b291c792a2a2f Mon Sep 17 00:00:00 2001 From: mouazkh Date: Tue, 26 May 2026 02:59:20 +0300 Subject: [PATCH] fixed the details --- app/owner/properties/add/page.js | 3 --- app/owner/properties/page.js | 3 --- 2 files changed, 6 deletions(-) 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);