import api from '..'; const PACK_API = '/pack'; export const packsApi = api.injectEndpoints({ endpoints: (build) => ({ getPacks: build.query, void>({ query: () => ({ url: `${PACK_API}/active`, method: 'GET', }), }), }), }); // update/status/:meeting_id export const { useGetPacksQuery } = packsApi;