镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fetch organization with the organization_id keyword in Proxy#organization - #144

Open
SAY-5 wants to merge 1 commit into
clerk:mainfrom
SAY-5:fix/proxy-organization-get-keyword
Open

SAY-5 wants to merge 1 commit into
clerk:mainfrom
SAY-5:fix/proxy-organization-get-keyword

Conversation

@SAY-5

@SAY-5 SAY-5 commented Aug 25, 2026

Copy link
Copy Markdown

Fixes #142.

Proxy#organization calls sdk.organizations.get(org_id: org_id), but the generated Organizations#get takes organization_id:. Any call to organization on a session that belongs to an org raised ArgumentError: missing keyword: :organization_id.

Passes the organization_id keyword instead. Added a Minitest case that stubs the SDK and asserts organization resolves through Organizations#get(organization_id:).

…tion

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
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.

Clerk::Proxy.organization bug

1 participant