10000 docs: typo in admin plugin by Kinfe123 · Pull Request #2651 · better-auth/better-auth · GitHub
[go: up one dir, main page]

Skip to content

docs: typo in admin plugin #2651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
10000
Diff view
2 changes: 1 addition & 1 deletion docs/content/docs/plugins/admin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ The plugin provides an easy way to define your own set of permissions for each r
<Step>
#### Pass Roles to the Plugin

Once you have created the roles you can pass them to the organization plugin both on the client and the server.
Once you have created the roles you can pass them to the admin plugin both on the client and the server.

```ts title="auth.ts"
import { betterAuth } from "better-auth"
Expand Down
1 change: 0 additions & 1 deletion packages/better-auth/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export function getEndpoints<
middlewares,
};
}

export const router = <C extends AuthContext, Option extends BetterAuthOptions>(
ctx: C,
options: Option,
Expand Down
0