[PR #8642] [MERGED] docs: fix import order in organization.mdx #25012

Closed
opened 2026-04-15 22:41:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8642
Author: @g3r4n
Created: 3/16/2026
Status: Merged
Merged: 3/16/2026
Merged by: @himself65

Base: canaryHead: patch-1


📝 Commits (1)

  • abb011b Fix import order in organization.mdx

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 docs/content/docs/plugins/organization.mdx (+2 -2)

📄 Description

Summary by cubic

Fixes the code sample in organization.mdx by importing betterAuth from better-auth before using it. This makes the snippet compile and avoids confusion for readers.

Written for commit abb011b944. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8642 **Author:** [@g3r4n](https://github.com/g3r4n) **Created:** 3/16/2026 **Status:** ✅ Merged **Merged:** 3/16/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`abb011b`](https://github.com/better-auth/better-auth/commit/abb011b94489a86ba7020ee10e246cffbc4452b3) Fix import order in organization.mdx ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/organization.mdx` (+2 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixes the code sample in `organization.mdx` by importing `betterAuth` from `better-auth` before using it. This makes the snippet compile and avoids confusion for readers. <sup>Written for commit abb011b94489a86ba7020ee10e246cffbc4452b3. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:41:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25012