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

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

export const PATCH = withAuth(withPermission('interests', 'edit', patchHandler));
export const DELETE = withAuth(withPermission('interests', 'edit', deleteHandler));
