diff --git a/packages/core/src/routes/resource.ts b/packages/core/src/routes/resource.ts index f6635f817..658b12782 100644 --- a/packages/core/src/routes/resource.ts +++ b/packages/core/src/routes/resource.ts @@ -24,7 +24,7 @@ import { import type { AuthedRouter } from './types.js'; const resourceId = buildIdGenerator(21); -const scoupeId = resourceId; +const scopeId = resourceId; export default function resourceRoutes(router: T) { router.get( @@ -145,7 +145,7 @@ export default function resourceRoutes(router: T) { ctx.body = await insertScope({ ...body, - id: scoupeId(), + id: scopeId(), resourceId, });