From 49c12670890e17861f519a0f09d21bc94084f3e5 Mon Sep 17 00:00:00 2001 From: "Taylor Wilsdon (aider)" Date: Mon, 16 Dec 2024 14:47:14 -0500 Subject: [PATCH] fix: Update Google Drive credentials endpoint URL --- src/lib/utils/google-drive-picker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }