From cbd8525c3956b57962443d0885669095cb65dd54 Mon Sep 17 00:00:00 2001 From: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Date: Sat, 1 Mar 2025 05:04:16 +0200 Subject: [PATCH] fix: useAtomGetEventTypes pathname (#19637) --- .../connect/conferencing-apps/hooks/useAtomGetEventTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.ts b/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.ts index fba0e8fb63..c1e17c22ac 100644 --- a/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.ts +++ b/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.ts @@ -11,7 +11,7 @@ export const QUERY_KEY = "use-get-event-types"; type ResponseEventType = { eventTypes: Array<{ id: number; title: string }> }; export const useAtomGetEventTypes = () => { - const pathname = `/atoms/${V2_ENDPOINTS.eventTypes}/`; + const pathname = `/atoms/${V2_ENDPOINTS.eventTypes}`; const { isInit, accessToken } = useAtomsContext(); return useQuery({