Skip to content

Commit f479969

Browse files
committed
Re-adding missing filterFn calls
1 parent f388c24 commit f479969

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

components/frontapp/sources/new-conversation-created/new-conversation-created.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ export default {
2727
ts: conversation.created_at * 1000,
2828
};
2929
},
30+
hooks: {
31+
async deploy() {
32+
await this.startEvent(25, (item, lastTs) => item.created_at > lastTs);
33+
},
34+
},
35+
async run() {
36+
await this.startEvent(0, (item, lastTs) => item.created_at > lastTs);
37+
},
3038
},
3139
sampleEmit,
3240
};

components/frontapp/sources/new-message-template-created/new-message-template-created.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ export default {
2727
ts: template.created_at * 1000,
2828
};
2929
},
30+
hooks: {
31+
async deploy() {
32+
await this.startEvent(25, (item, lastTs) => item.created_at > lastTs);
33+
},
34+
},
35+
async run() {
36+
await this.startEvent(0, (item, lastTs) => item.created_at > lastTs);
37+
},
3038
},
3139
sampleEmit,
3240
};

0 commit comments

Comments
 (0)