Skip to content

fix: remove duplicate error code and malformed keyId declaration - #861

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
Chucks1093:fix/ci-main-errors
Sep 3, 2026
Merged

fix: remove duplicate error code and malformed keyId declaration#861
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
Chucks1093:fix/ci-main-errors

Conversation

@Chucks1093

Copy link
Copy Markdown
Member

Closes #855

Two TypeScript errors were introduced by a bad merge, breaking CI:

  • error.constants.tsUNPROCESSABLE_ENTITY appeared twice in the ErrorCode object literal (TS1117: An object literal cannot have multiple properties with the same name). Removed the duplicate at the bottom.

  • creator.routes.ts — A malformed const keyId declaration was attached inline to the return; statement line, producing a second keyId binding in the same block (TS2451: Cannot redeclare block-scoped variable 'keyId'). Removed the malformed declaration; the clean one below it is kept.

…claration

- error.constants.ts: UNPROCESSABLE_ENTITY appeared twice causing TS1117
- creator.routes.ts: malformed const keyId attached to return statement
  caused TS2451 redeclare block-scoped variable error
@Chucks1093
Chucks1093 merged commit f88d0ff into accesslayerorg:main Sep 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant