mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fixes for get auth token
This commit is contained in:
parent
2c8063b072
commit
2c0f2e8fac
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ export function getAuthToken() {
|
|||
}
|
||||
return null;
|
||||
})
|
||||
.filter(cookie => cookie !== null);
|
||||
.filter((cookie): cookie is { name: string; timestamp: number; value: string } => cookie !== null);
|
||||
|
||||
if (tokenCookies.length > 0) {
|
||||
// Sort by timestamp (newest first)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue