8000 docs: typo in admin plugin · better-auth/better-auth@81ab908 · GitHub
[go: up one dir, main page]

Skip to content

Commit 81ab908

Browse files
authored
docs: typo in admin plugin
1 parent d500ede commit 81ab908

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/content/docs/plugins/admin.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ The plugin provides an easy way to define your own set of permissions for each r
363363
<Step>
364364
#### Pass Roles to the Plugin
365365

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

368368
```ts title="auth.ts"
369369
import { betterAuth } from "better-auth"

packages/better-auth/src/api/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ export function getEndpoints<
127127
middlewares,
128128
};
129129
}
130-
131130
export const router = <C extends AuthContext, Option extends BetterAuthOptions>(
132131
ctx: C,
133132
options: Option,

0 commit comments

Comments
 (0)
0