mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(endpoints.py): update credentials should update before storing
This commit is contained in:
parent
fc0d21794d
commit
6629354329
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