diff --git a/app/utils/api.js b/app/utils/api.js index cffe290..f411921 100644 --- a/app/utils/api.js +++ b/app/utils/api.js @@ -116,22 +116,6 @@ export async function getProperty(id) { return apiFetch(`/Properties/Get/${id}`); } -// ─── Rent Properties (Add) ─── - -/** - * Add a rent property - * Request body must match Flutter AddRentPropertyDto exactly - * @param {object} data — structured request body - * @returns {Promise} - */ -export async function addRentProperty(data) { - console.log('[API] Adding rent property...'); - return apiFetch('/RentProperties/AddRentProperty', { - method: 'POST', - body: JSON.stringify(data), - }); -} - // ─── Recommendations ─── export async function getRecommendations() {