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

import { addHandler, listHandler } from './handlers';

export const GET = withAuth(withPermission('interests', 'view', listHandler));
export const POST = withAuth(withPermission('interests', 'edit', addHandler));
