Skip to content

Commit

Permalink
fix: useAtomGetEventTypes pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev committed Mar 1, 2025
1 parent 15abe4e commit 73e75a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 73e75a1

Please sign in to comment.