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

import { patchHandler, deleteHandler } from './handlers';

export const PATCH = withAuth(withPermission('memberships', 'manage', patchHandler));
export const DELETE = withAuth(withPermission('memberships', 'manage', deleteHandler));
