From 3ef439d95b8f6714e8ef65622463fb13abc94b90 Mon Sep 17 00:00:00 2001 From: Enguerrand des Vaux Date: Mon, 16 Mar 2026 21:31:15 +0100 Subject: [PATCH] docs: fix import order in `organization.mdx` (#8642) --- docs/content/docs/plugins/organization.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/docs/plugins/organization.mdx b/docs/content/docs/plugins/organization.mdx index d7aef44f62..de2ceb7b24 100644 --- a/docs/content/docs/plugins/organization.mdx +++ b/docs/content/docs/plugins/organization.mdx @@ -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: {