fix: Google Drive folder handling and connector page updates

This commit is contained in:
CREDO23 2025-12-28 19:57:10 +02:00
parent 10c98745cd
commit 27beac4f62
4 changed files with 40 additions and 46 deletions

View file

@ -268,8 +268,8 @@ export const useSearchSourceConnectors = (lazy: boolean = false, searchSpaceId?:
searchSpaceId: string | number,
startDate?: string,
endDate?: string,
folderId?: string,
folderName?: string
folderIds?: string,
folderNames?: string
) => {
try {
// Build query parameters
@ -282,11 +282,11 @@ export const useSearchSourceConnectors = (lazy: boolean = false, searchSpaceId?:
if (endDate) {
params.append("end_date", endDate);
}
if (folderId) {
params.append("folder_id", folderId);
if (folderIds) {
params.append("folder_ids", folderIds);
}
if (folderName) {
params.append("folder_name", folderName);
if (folderNames) {
params.append("folder_names", folderNames);
}
const response = await authenticatedFetch(