mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 16:11:53 -05:00
Remove org session middleware.
This commit is contained in:
committed by
Gustavo Valverde
parent
2bf1221899
commit
fd79cfb16d
@@ -54,7 +54,7 @@ export const addMember = <O extends OrganizationOptions>(option: O) => {
|
||||
...baseMemberSchema.shape,
|
||||
...additionalFieldsSchema.shape,
|
||||
}),
|
||||
use: [orgMiddleware, orgSessionMiddleware],
|
||||
use: [orgMiddleware],
|
||||
metadata: {
|
||||
$Infer: {
|
||||
body: {} as {
|
||||
|
||||
Reference in New Issue
Block a user