forked from phoenix/litellm-mirror
ui networking list all teams (#5851)
This commit is contained in:
parent
d9e798ecda
commit
47d36e3c79
1 changed files with 3 additions and 1 deletions
|
@ -572,7 +572,9 @@ export const userInfoCall = async (
|
|||
} else {
|
||||
// Use /user/info endpoint for individual user info
|
||||
url = proxyBaseUrl ? `${proxyBaseUrl}/user/info` : `/user/info`;
|
||||
if (userID) {
|
||||
if (userRole === "Admin" || userRole === "Admin Viewer") {
|
||||
// do nothing
|
||||
} else if (userID) {
|
||||
url += `?user_id=${userID}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue