docs: fix import order in organization.mdx (#8642)

This commit is contained in:
Enguerrand des Vaux
2026-03-18 18:06:20 +09:00
committed by Taesu
parent 4f37ac4e36
commit 3ef439d95b
+2 -2
View File
@@ -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: {