diff --git a/src/lib/utils/google-drive-picker.ts b/src/lib/utils/google-drive-picker.ts index 2682ea555..0232679f9 100644 --- a/src/lib/utils/google-drive-picker.ts +++ b/src/lib/utils/google-drive-picker.ts @@ -4,7 +4,7 @@ let CLIENT_ID = ''; // Function to fetch credentials from backend config async function getCredentials() { - const response = await fetch('/api/retrieval/config'); + const response = await fetch('/api/google-drive/config'); if (!response.ok) { throw new Error('Failed to fetch Google Drive credentials'); }