mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
fix: add missing team reference in teamMember schema (#3801)
This commit is contained in:
@@ -597,6 +597,10 @@ export const organization = <O extends OrganizationOptions>(
|
||||
teamId: {
|
||||
type: "string",
|
||||
required: true,
|
||||
references: {
|
||||
model: "team",
|
||||
field: "id",
|
||||
},
|
||||
fieldName: options?.schema?.teamMember?.fields?.teamId,
|
||||
},
|
||||
userId: {
|
||||
|
||||
Reference in New Issue
Block a user