[PR #8745] [MERGED] fix(docs): include query in authClient.accountInfo api #25084

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8745
Author: @aarmful
Created: 3/23/2026
Status: Merged
Merged: 3/24/2026
Merged by: @Bekacru

Base: canaryHead: fix/include-query-in-authClient


📝 Commits (2)

  • 14e8d6d fix(docs): include query in authClient.accountInfo api
  • 8f4996a fix(docs): double quotes

📊 Changes

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

View changed files

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

📄 Description

closes #8744

super simple fix. just adds query to the authClient.accountInfo api.


Summary by cubic

Fix docs for OAuth account info: update authClient.accountInfo example to pass query: { accountId } instead of a top-level accountId, and use double quotes. Aligns the example with the API to prevent confusion.

Written for commit 8f4996ae65. 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/8745 **Author:** [@aarmful](https://github.com/aarmful) **Created:** 3/23/2026 **Status:** ✅ Merged **Merged:** 3/24/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/include-query-in-authClient` --- ### 📝 Commits (2) - [`14e8d6d`](https://github.com/better-auth/better-auth/commit/14e8d6d8cf7607ef07715aa438864e879de539ce) fix(docs): include query in authClient.accountInfo api - [`8f4996a`](https://github.com/better-auth/better-auth/commit/8f4996ae657545f75a2801d449aec453ba7dd185) fix(docs): double quotes ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/oauth.mdx` (+1 -1) </details> ### 📄 Description closes #8744 super simple fix. just adds `query` to the `authClient.accountInfo` api. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fix docs for OAuth account info: update `authClient.accountInfo` example to pass `query: { accountId }` instead of a top-level `accountId`, and use double quotes. Aligns the example with the API to prevent confusion. <sup>Written for commit 8f4996ae657545f75a2801d449aec453ba7dd185. 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:43:07 -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#25084