[PR #8570] [MERGED] fix: resolve duplicate operationId in admin plugin endpoints #24970

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8570
Author: @Sigmabrogz
Created: 3/12/2026
Status: Merged
Merged: 3/15/2026
Merged by: @bytaesu

Base: canaryHead: fix/duplicate-operationid-admin-endpoints


📝 Commits (1)

  • bbaa588 fix: resolve duplicate operationId in admin plugin endpoints

📊 Changes

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

View changed files

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

📄 Description

Retargeting PR #8567 to canary as requested by @bytaesu.


Summary by cubic

Renamed OpenAPI operationIds for admin endpoints to avoid collisions with core endpoints. This prevents duplicate types during schema generation with tools like orval and resolves TS2300 errors.

  • Bug Fixes
    • updateUseradminUpdateUser (admin endpoint)
    • listUserSessionsadminListUserSessions (admin endpoint)

Written for commit bbaa588e85. 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/8570 **Author:** [@Sigmabrogz](https://github.com/Sigmabrogz) **Created:** 3/12/2026 **Status:** ✅ Merged **Merged:** 3/15/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `canary` ← **Head:** `fix/duplicate-operationid-admin-endpoints` --- ### 📝 Commits (1) - [`bbaa588`](https://github.com/better-auth/better-auth/commit/bbaa588e85eaa924cea1cc4d818b47ea924bc091) fix: resolve duplicate operationId in admin plugin endpoints ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/routes.ts` (+2 -2) </details> ### 📄 Description Retargeting PR #8567 to `canary` as requested by @bytaesu. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Renamed OpenAPI operationIds for admin endpoints to avoid collisions with core endpoints. This prevents duplicate types during schema generation with tools like `orval` and resolves TS2300 errors. - **Bug Fixes** - `updateUser` → `adminUpdateUser` (admin endpoint) - `listUserSessions` → `adminListUserSessions` (admin endpoint) <sup>Written for commit bbaa588e85eaa924cea1cc4d818b47ea924bc091. 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:45 -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#24970