Compare commits

..

2 Commits

Author SHA1 Message Date
79822d1931 Merge pull request 'Update API URLs for meeting start and end endpoints to use correct path structure' (#49) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/49
2025-12-04 16:32:26 +00:00
iamkiddy
31ea0bf6ce 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.
2025-12-04 16:31:49 +00:00

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;