fix(google-drive): show only files in trigger for new files in folder

This commit is contained in:
Rıdvan Akca
2023-03-29 15:33:21 +03:00
parent 312e786e33
commit f57e35c6b8

View File

@@ -4,7 +4,7 @@ const newFilesInFolder = async ($: IGlobalVariable) => {
const params = {
pageToken: undefined as unknown as string,
orderBy: 'createdTime desc',
q: `'${$.step.parameters.folderId}' in parents`,
q: `mimeType!='application/vnd.google-apps.folder' and '${$.step.parameters.folderId}' in parents`,
fields: '*',
pageSize: 1000,
};