[PR #6067] [MERGED] chore: docs change outdated req to be ctx #6420

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6067
Author: @ping-maxwell
Created: 11/18/2025
Status: Merged
Merged: 11/18/2025
Merged by: @Bekacru

Base: canaryHead: docs/change-outdated-req-to-ctx


📝 Commits (2)

  • a4fa003 docs: change outdated req to be ctx
  • 840040d Merge branch 'canary' into docs/change-outdated-req-to-ctx

📊 Changes

4 files changed (+11 additions, -11 deletions)

View changed files

📝 docs/content/docs/plugins/2fa.mdx (+1 -1)
📝 docs/content/docs/plugins/magic-link.mdx (+2 -2)
📝 docs/content/docs/plugins/organization.mdx (+2 -2)
📝 docs/content/docs/plugins/phone-number.mdx (+6 -6)

📄 Description

Since the addition of PR: https://github.com/better-auth/better-auth/pull/5944/files#diff-3229471c4df76934d76421ff81ef5e44488261e08292538d81ae51703e472659

I forgot to updated the docs.


Summary by cubic

Updated plugin docs to use ctx instead of request in callback examples (sendOTP, sendMagicLink, maximumTeams, maximumMembersPerTeam, callbackOnVerification, verifyOTP). Aligns with the current API and prevents confusion.

Written for commit a4fa003a93. 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/6067 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 11/18/2025 **Status:** ✅ Merged **Merged:** 11/18/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/change-outdated-req-to-ctx` --- ### 📝 Commits (2) - [`a4fa003`](https://github.com/better-auth/better-auth/commit/a4fa003a931a98937c4fe627131c92dd7895549f) docs: change outdated `req` to be `ctx` - [`840040d`](https://github.com/better-auth/better-auth/commit/840040d2306b136c67509db7df7814580a13f174) Merge branch 'canary' into docs/change-outdated-req-to-ctx ### 📊 Changes **4 files changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/2fa.mdx` (+1 -1) 📝 `docs/content/docs/plugins/magic-link.mdx` (+2 -2) 📝 `docs/content/docs/plugins/organization.mdx` (+2 -2) 📝 `docs/content/docs/plugins/phone-number.mdx` (+6 -6) </details> ### 📄 Description Since the addition of PR: https://github.com/better-auth/better-auth/pull/5944/files#diff-3229471c4df76934d76421ff81ef5e44488261e08292538d81ae51703e472659 I forgot to updated the docs. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated plugin docs to use ctx instead of request in callback examples (sendOTP, sendMagicLink, maximumTeams, maximumMembersPerTeam, callbackOnVerification, verifyOTP). Aligns with the current API and prevents confusion. <sup>Written for commit a4fa003a931a98937c4fe627131c92dd7895549f. 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:58:40 -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#6420