[PR #8545] [MERGED] docs: fix api-key import path in api-key docs #24952

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

📋 Pull Request Information

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

Base: canaryHead: docs/api-key-import-fix


📝 Commits (1)

  • fa6593e docs: fix api-key import path in api-key docs

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 docs/content/docs/plugins/api-key/advanced.mdx (+1 -1)
📝 docs/content/docs/plugins/api-key/reference.mdx (+4 -4)

📄 Description

Summary by cubic

Updated API key plugin docs to use the correct import path so copy-paste examples work.
All samples now import apiKey from @better-auth/api-key instead of better-auth/plugins.

Written for commit fa6593e812. 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/8545 **Author:** [@rurruur](https://github.com/rurruur) **Created:** 3/11/2026 **Status:** ✅ Merged **Merged:** 3/11/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/api-key-import-fix` --- ### 📝 Commits (1) - [`fa6593e`](https://github.com/better-auth/better-auth/commit/fa6593e8128c1206eab6f38db53d347ed34a538c) docs: fix api-key import path in api-key docs ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/api-key/advanced.mdx` (+1 -1) 📝 `docs/content/docs/plugins/api-key/reference.mdx` (+4 -4) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated API key plugin docs to use the correct import path so copy-paste examples work. All samples now import `apiKey` from `@better-auth/api-key` instead of `better-auth/plugins`. <sup>Written for commit fa6593e8128c1206eab6f38db53d347ed34a538c. 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:39:08 -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#24952