mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
feat(ui): show key alias instead of hashed token
This commit is contained in:
parent
6b83001459
commit
34c118e5e9
5 changed files with 118 additions and 37 deletions
|
@ -556,7 +556,7 @@ class PrismaClient:
|
|||
new_token = self.hash_token(token=t)
|
||||
hashed_tokens.append(new_token)
|
||||
else:
|
||||
hashed_tokens.append(new_token)
|
||||
hashed_tokens.append(t)
|
||||
where_filter["token"]["in"] = hashed_tokens
|
||||
response = await self.db.litellm_verificationtoken.find_many(
|
||||
order={"spend": "desc"}, where=where_filter # type: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue