diff --git a/client/lib/aethex-social-service.ts b/client/lib/aethex-social-service.ts index fd5460fc..4cac86a3 100644 --- a/client/lib/aethex-social-service.ts +++ b/client/lib/aethex-social-service.ts @@ -259,7 +259,7 @@ export const aethexSocialService = { async listMentorshipRequests(userId: string, role?: "mentor" | "mentee") { const qs = new URLSearchParams({ user_id: userId }); if (role) qs.set("role", role); - const resp = await fetch(`/api/mentorship/requests?${qs.toString()}`); + const resp = await fetch(`${API_BASE}/api/mentorship/requests?${qs.toString()}`); if (!resp.ok) return [] as any[]; return (await resp.json()) as any[]; },