[PR #5740] docs: fix import name #14438

Closed
opened 2026-04-13 09:28:31 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5740

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5740 **State:** closed **Merged:** Yes --- 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. -->
GiteaMirror added the pull-request label 2026-04-13 09:28:31 -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#14438