File tree 2 files changed +1
-2
lines changed
docs/content/docs/plugins
packages/better-auth/src/api
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ The plugin provides an easy way to define your own set of permissions for each r
363
363
<Step >
364
364
#### Pass Roles to the Plugin
365
365
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.
367
367
368
368
``` ts title="auth.ts"
369
369
import { betterAuth } from " better-auth"
Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ export function getEndpoints<
127
127
middlewares,
128
128
} ;
129
129
}
130
-
131
130
export const router = < C extends AuthContext , Option extends BetterAuthOptions > (
132
131
ctx : C ,
133
132
options : Option ,
You can’t perform that action at this time.
0 commit comments