Skip to content

Commit c91af00

Browse files
committed
updates
1 parent 5611138 commit c91af00

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

components/google_drive/sources/changes-to-files-in-drive/changes-to-files-in-drive.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default {
126126
file: fileInfo,
127127
...changes,
128128
};
129-
const meta = this.generateMeta(fileInfo, headers); console.log(meta);
129+
const meta = this.generateMeta(fileInfo, headers);
130130
this.$emit(eventToEmit, meta);
131131
},
132132
async processChanges(changedFiles, headers) {

components/google_drive/sources/common-dedupe-changes.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can change or disable this minimum interval using the prop \`Minimum Interva
1313
description: "How many minutes to wait until the same file can emit another event.\n\nIf set to `0`, this interval is disabled and all events will be emitted.",
1414
min: 0,
1515
max: 60,
16-
default: 1,
16+
default: 3,
1717
optional: true,
1818
},
1919
},

components/google_drive/sources/common-webhook.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ export default {
1010
props: {
1111
googleDrive,
1212
db: "$.service.db",
13-
http: "$.interface.http",
13+
http: {
14+
type: "$.interface.http",
15+
customResponse: true,
16+
},
1417
drive: {
1518
propDefinition: [
1619
googleDrive,
@@ -157,6 +160,10 @@ export default {
157160
this._setChannelID(newChannelID);
158161
this._setPageToken(newPageToken);
159162
return;
163+
} else {
164+
this.http.respond({
165+
status: 200,
166+
});
160167
}
161168

162169
const { headers } = event;

0 commit comments

Comments
 (0)