浏览代码

fix: Update Google Drive credentials endpoint URL

Taylor Wilsdon (aider) 5 月之前
父节点
当前提交
49c1267089
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');
     }