mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(endpoints.py): update credentials should update before storing
This commit is contained in:
parent
7d7b57e3b2
commit
a4b4746a44
2 changed files with 47 additions and 3 deletions
|
@ -2698,7 +2698,7 @@ export const credentialUpdateCall = async (
|
|||
|
||||
const url = proxyBaseUrl ? `${proxyBaseUrl}/credentials/${credentialName}` : `/credentials/${credentialName}`;
|
||||
const response = await fetch(url, {
|
||||
method: "PUT",
|
||||
method: "PATCH",
|
||||
headers: {
|
||||
[globalLitellmHeaderName]: `Bearer ${accessToken}`,
|
||||
"Content-Type": "application/json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue