Update API URLs for meeting start and end endpoints to use correct path structure

Refactor the startMeeting and endMeeting functions in api_urls.ts to point to the correct API paths for meeting management. This change ensures consistency in the API structure and aligns with the overall meeting control functionality.
This commit is contained in:
iamkiddy 2025-12-04 16:31:49 +00:00
parent aecde6ce69
commit 31ea0bf6ce

View File

@ -29,8 +29,8 @@ export const API_ENDPOINTS = {
availabilityConfig: `${API_BASE_URL}/meetings/availability/config/`,
checkDateAvailability: `${API_BASE_URL}/meetings/availability/check/`,
availabilityOverview: `${API_BASE_URL}/meetings/availability/overview/`,
startMeeting: (id: string) => `${API_BASE_URL}/meetings/appointments/${id}/start/`,
endMeeting: (id: string) => `${API_BASE_URL}/meetings/appointments/${id}/end/`,
startMeeting: (id: string) => `${API_BASE_URL}/meetings/meetings/${id}/start/`,
endMeeting: (id: string) => `${API_BASE_URL}/meetings/meetings/${id}/end/`,
},
} as const;