Allow to search all drives
This commit is contained in:
@@ -165,6 +165,9 @@ export async function searchSheets(query: string) {
|
||||
q: `mimeType='application/vnd.google-apps.spreadsheet' and name contains '${query}'`,
|
||||
fields: 'files(id, name, iconLink, webViewLink)',
|
||||
pageSize: 20,
|
||||
supportsAllDrives: true,
|
||||
includeItemsFromAllDrives: true,
|
||||
corpora: 'allDrives'
|
||||
});
|
||||
return response.result.files || [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user