import { withAuth, withPermission } from '@/lib/api/helpers';

import { getMembersHandler, putMembersHandler } from './handlers';

export const GET = withAuth(withPermission('client_groups', 'view', getMembersHandler));
export const PUT = withAuth(withPermission('client_groups', 'manage', putMembersHandler));
