Bläddra i källkod

fix: Update Google Drive credentials endpoint URL

Taylor Wilsdon (aider) 4 månader sedan
förälder
incheckning
49c1267089
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
 // Function to fetch credentials from backend config
 async function getCredentials() {
 async function getCredentials() {
-    const response = await fetch('/api/retrieval/config');
+    const response = await fetch('/api/google-drive/config');
     if (!response.ok) {
     if (!response.ok) {
         throw new Error('Failed to fetch Google Drive credentials');
         throw new Error('Failed to fetch Google Drive credentials');
     }
     }