fix: useAtomGetEventTypes pathname (#19637)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user