import { updateAdminRecord } from '../../../utils/admin/crud' import type { DevRoeUsesCategory } from '#shared/lex' export default defineEventHandler(async event => { const body = await readBody>(event) return updateAdminRecord(event, 'dev.roe.usesCategory', getRouterParam(event, 'rkey'), body) })