Skip to content

Commit 90e49c1

Browse files
waleedlatif1claude
andcommitted
fix(credential-groups): correct the OAuth code bound's doc comment
The constant's comment claimed every callback contract shares the bound, but the Shopify and MCP callback schemas leave `code` unbounded. Describe what the bound is and why it is sized as it is, without asserting an adoption scope that would go stale as contracts are migrated onto it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013e5sXbYST2R4qNzM996GFg
1 parent 303066e commit 90e49c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/api/contracts/primitives.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export function withMissingFieldMessage<TSchema extends z.ZodString>(
238238
export const MAX_ID_LENGTH = 128
239239

240240
/**
241-
* Bound for an OAuth `code` callback parameter, shared by every callback contract.
241+
* Bound for an OAuth `code` callback parameter.
242242
*
243243
* Authorization codes have no length ceiling in RFC 6749, and providers differ by
244244
* orders of magnitude: Slack's are tens of characters while Atlassian returns a

0 commit comments

Comments
 (0)