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

import { setPrimaryHandler } from './handlers';

export const POST = withAuth(withPermission('memberships', 'manage', setPrimaryHandler));
