Does better-auth support custom fields in 'create' events like``authClient.organization.createTeam``

It's in the name really. Currently, you can create a team like this:
const { data, error } = await authClient.organization.createTeam({
organizationId: team.organizationId,
name: team.name,
});
const { data, error } = await authClient.organization.createTeam({
organizationId: team.organizationId,
name: team.name,
});
but I want to add custom fields like a team colour.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?