@pipedream/google_drive 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
key: "google_drive-new-or-modified-folders",
|
|
21
21
|
name: "New or Modified Folders (Instant)",
|
|
22
22
|
description: "Emit new event when a folder is created or modified in the selected Drive",
|
|
23
|
-
version: "0.2.
|
|
23
|
+
version: "0.2.8",
|
|
24
24
|
type: "source",
|
|
25
25
|
// Dedupe events based on the "x-goog-message-number" header for the target channel:
|
|
26
26
|
// https://developers.google.com/drive/api/v3/push#making-watch-requests
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
143
143
|
const allParents = [];
|
|
144
144
|
if (this.includeSubfolders) {
|
|
145
145
|
allParents.push(...(await this.getAllParents(file.id)));
|
|
146
|
-
} else {
|
|
146
|
+
} else if (fileInfo.parents) {
|
|
147
147
|
allParents.push(fileInfo.parents[0]);
|
|
148
148
|
}
|
|
149
149
|
|