Selaa lähdekoodia

fix: Update Google Drive credentials endpoint URL

Taylor Wilsdon (aider) 4 kuukautta sitten
vanhempi
commit
49c1267089
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/lib/utils/google-drive-picker.ts

+ 1 - 1
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');
     }