[GH-ISSUE #618] Update listOrganization to be plural #8345

Closed
opened 2026-04-13 03:25:09 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sajadmh on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/618

Describe the bug

auth.api.listOrganization is singular when it should be plural listOrganizations.

On the server-side listSessions and listUserAccounts are plural but listOrganization isn't.

On the client-side, authClient.useListOrganizations is plural.

Originally created by @sajadmh on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/618 **Describe the bug** `auth.api.listOrganization` is singular when it should be plural **listOrganizations**. On the server-side `listSessions` and `listUserAccounts` are plural but `listOrganization` isn't. On the client-side, `authClient.useListOrganizations` is plural.
GiteaMirror added the locked label 2026-04-13 03:25:09 -05:00
Author
Owner

@Bekacru commented on GitHub (Nov 22, 2024):

fixed on latest canary.

<!-- gh-comment-id:2493606399 --> @Bekacru commented on GitHub (Nov 22, 2024): fixed on latest canary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8345