mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #24784] refactor: remove unused GET /users/user/info endpoint #98879
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24784
Author: @Classic298
Created: 5/15/2026
Status: 🔄 Open
Base:
dev← Head:remove-unused-users-info-endpoint📝 Commits (1)
3bdd1f0refactor: remove unused GET /users/user/info endpoint📊 Changes
2 files changed (+0 additions, -37 deletions)
View changed files
📝
backend/open_webui/routers/users.py(+0 -11)📝
src/lib/apis/users/index.ts(+0 -26)📄 Description
The fetch-own-info endpoint's only frontend wrapper, getUserInfo in src/lib/apis/users/index.ts, is dead: nothing imports or calls it, the path is referenced nowhere else, and the route handler has no internal caller. Removes the route handler, its section header, and the dead wrapper. The sibling POST /users/user/info/update endpoint and its live updateUserInfo wrapper are untouched, as is getUserInfoById.
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.