fix: update GetMyRentListings endpoint (userId removed from URL)
All checks were successful
Build frontend / build (push) Successful in 1m3s

This commit is contained in:
Claw AI
2026-03-31 18:46:12 +00:00
parent 0171c7a2bf
commit cf7f51b514
2 changed files with 4 additions and 4 deletions

View File

@ -177,9 +177,9 @@ export async function getOwnerByUserId(userId) {
// ─── Properties ───
export async function getMyRentListings(userId) {
console.log('[API] Fetching my rent listings for user:', userId);
return apiFetch(`/RentProperties/GetMyRentListings/${userId}`);
export async function getMyRentListings() {
console.log('[API] Fetching my rent listings');
return apiFetch(`/RentProperties/GetMyRentListings`);
}
export async function addRentProperty(data) {