mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 11:24:57 -05:00
docs: fix import order in organization.mdx (#8642)
This commit is contained in:
committed by
Taesu
parent
4f37ac4e36
commit
3ef439d95b
@@ -647,9 +647,9 @@ type setActiveOrganization = {
|
||||
To automatically set an active organization when a session is created, you can use [database hooks](/docs/concepts/database#database-hooks). You'll need to implement logic to determine which organization to set as the initial active organization.
|
||||
|
||||
```ts title="auth.ts"
|
||||
export const auth = betterAuth({
|
||||
import { betterAuth } from "better-auth";
|
||||
import { betterAuth } from "better-auth";
|
||||
|
||||
export const auth = betterAuth({
|
||||
databaseHooks: {
|
||||
session: {
|
||||
create: {
|
||||
|
||||
Reference in New Issue
Block a user