mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-27 10:55:09 -05:00
408 B
408 B
better-auth
| better-auth |
|---|
| minor |
allow passing userId and organizationId to the listUserTeams API. userId lets callers list teams for another member of an organization (gated behind the member:update permission). organizationId scopes the result to a specific organization without needing to switch the session's active organization, matching the pattern used by addTeamMember/removeTeamMember.