[PR #4952] [MERGED] docs(concepts/plugins): added missing import for getSessionFromCtx section #31279

Closed
opened 2026-04-17 22:10:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4952
Author: @latinrev
Created: 9/27/2025
Status: Merged
Merged: 9/30/2025
Merged by: @himself65

Base: canaryHead: docs/update-get-session-from-ctx-docs


📝 Commits (1)

  • 698a92e docs(concepts/plugins): added missing import for getSessionFromCtx section

📊 Changes

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

View changed files

📝 docs/content/docs/concepts/plugins.mdx (+1 -0)

📄 Description

Added missing import for getSessionFromCtx section
import { getSessionFromCtx } from "better-auth/api";


Summary by cubic

Added the missing import for getSessionFromCtx in the Plugins docs example to prevent copy-paste errors and ensure the snippet compiles.


🔄 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/4952 **Author:** [@latinrev](https://github.com/latinrev) **Created:** 9/27/2025 **Status:** ✅ Merged **Merged:** 9/30/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/update-get-session-from-ctx-docs` --- ### 📝 Commits (1) - [`698a92e`](https://github.com/better-auth/better-auth/commit/698a92eefabd385efc0778576d877c57e8eb61e0) docs(concepts/plugins): added missing import for getSessionFromCtx section ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/plugins.mdx` (+1 -0) </details> ### 📄 Description Added missing import for getSessionFromCtx section ` import { getSessionFromCtx } from "better-auth/api"; ` <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added the missing import for getSessionFromCtx in the Plugins docs example to prevent copy-paste errors and ensure the snippet compiles. <!-- 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-17 22:10:10 -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#31279