edited the edit properrty
All checks were successful
Build frontend / build (push) Successful in 44s
All checks were successful
Build frontend / build (push) Successful in 44s
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -672,6 +672,14 @@ export async function editRentProperty(id, data) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function editSaleProperty(id, data) {
|
||||||
|
console.log('[API] Editing sale property:', id);
|
||||||
|
return apiFetch(`/SaleProperties/EditSaleProperty/${id}`, {
|
||||||
|
method: 'PUT',
|
||||||
|
body: JSON.stringify(data),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
export async function addSaleProperty(data) {
|
export async function addSaleProperty(data) {
|
||||||
console.log('[API] Adding sale property');
|
console.log('[API] Adding sale property');
|
||||||
return apiFetch('/SaleProperties/AddSaleProperty', {
|
return apiFetch('/SaleProperties/AddSaleProperty', {
|
||||||
|
|||||||
Reference in New Issue
Block a user