Update listOrganization to be plural #261

Closed
opened 2026-03-13 07:40:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sajadmh on GitHub (Nov 22, 2024).

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). **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.
Author
Owner

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

fixed on latest canary.

@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#261