fix(google-drive): show only files in trigger for new files in folder
This commit is contained in:
@@ -4,7 +4,7 @@ const newFilesInFolder = async ($: IGlobalVariable) => {
|
|||||||
const params = {
|
const params = {
|
||||||
pageToken: undefined as unknown as string,
|
pageToken: undefined as unknown as string,
|
||||||
orderBy: 'createdTime desc',
|
orderBy: 'createdTime desc',
|
||||||
q: `'${$.step.parameters.folderId}' in parents`,
|
q: `mimeType!='application/vnd.google-apps.folder' and '${$.step.parameters.folderId}' in parents`,
|
||||||
fields: '*',
|
fields: '*',
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user