[PR #1854] [MERGED] fix: impersonatedBy not appearing in client (type fix) #4030

Closed
opened 2026-03-13 11:29:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1854
Author: @atharvadeosthale
Created: 3/17/2025
Status: Merged
Merged: 8/14/2025
Merged by: @Bekacru

Base: canaryHead: atharva/impersonated-by-fix


📝 Commits (1)

  • 333edd8 fix: impersonatedBy not appearing in client (type fix)

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/admin/admin.ts (+2 -3)

📄 Description

This PR fixes the admin plugin, where when the user sessions are listed on the client, impersonatedBy field is not suggested by the code editor but the impersonatedBy field is clearly available when using console.log().


🔄 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/1854 **Author:** [@atharvadeosthale](https://github.com/atharvadeosthale) **Created:** 3/17/2025 **Status:** ✅ Merged **Merged:** 8/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `atharva/impersonated-by-fix` --- ### 📝 Commits (1) - [`333edd8`](https://github.com/better-auth/better-auth/commit/333edd8b400ddfd427ec28c1e831b9721d2c0b02) fix: impersonatedBy not appearing in client (type fix) ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/admin.ts` (+2 -3) </details> ### 📄 Description This PR fixes the admin plugin, where when the user sessions are listed on the client, `impersonatedBy` field is not suggested by the code editor but the `impersonatedBy` field is clearly available when using `console.log()`. --- <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 11:29:16 -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#4030