fix(endpoints.py): update credentials should update before storing

This commit is contained in:
Krrish Dholakia 2025-03-14 10:42:17 -07:00
parent 7d7b57e3b2
commit a4b4746a44
2 changed files with 47 additions and 3 deletions

View file

@ -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",