[PR #5740] [MERGED] docs: fix import name #6191

Closed
opened 2026-03-13 12:50:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5740
Author: @himself65
Created: 11/3/2025
Status: Merged
Merged: 11/3/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/11/03/update


📝 Commits (1)

📊 Changes

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

View changed files

📝 docs/content/docs/guides/create-a-db-adapter.mdx (+11 -11)

📄 Description

Divided from: https://github.com/better-auth/better-auth/pull/5730


Summary by cubic

Fixed the database adapter guide to use the correct API: replaced createAdapter with createAdapterFactory in imports, examples, and text. This prevents confusion and ensures sample code matches the current Better-Auth adapters API.

Written for commit 592eafca9d. Summary will update automatically 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/5740 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/3/2025 **Status:** ✅ Merged **Merged:** 11/3/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/11/03/update` --- ### 📝 Commits (1) - [`592eafc`](https://github.com/better-auth/better-auth/commit/592eafca9df66e0cbea1face22a6b81be3537880) docs: fix import name ### 📊 Changes **1 file changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/guides/create-a-db-adapter.mdx` (+11 -11) </details> ### 📄 Description Divided from: https://github.com/better-auth/better-auth/pull/5730 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed the database adapter guide to use the correct API: replaced createAdapter with createAdapterFactory in imports, examples, and text. This prevents confusion and ensures sample code matches the current Better-Auth adapters API. <sup>Written for commit 592eafca9df66e0cbea1face22a6b81be3537880. Summary will update automatically 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-03-13 12:50:33 -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#6191