Skip to content

Commit 7c7c95d

Browse files
committed
fix(rss): align idempotency key GUID fallback with tracking/filter guard
1 parent 234604a commit 7c7c95d

File tree

1 file changed

+4
-1
lines changed
  • apps/sim/lib/webhooks/polling

1 file changed

+4
-1
lines changed

apps/sim/lib/webhooks/polling/rss.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,10 @@ async function processRssItems(
292292

293293
for (const item of items) {
294294
try {
295-
const itemGuid = item.guid || item.link || `${item.title}-${item.pubDate}`
295+
const itemGuid =
296+
item.guid ||
297+
item.link ||
298+
(item.title && item.pubDate ? `${item.title}-${item.pubDate}` : '')
296299

297300
await pollingIdempotency.executeWithIdempotency(
298301
'rss',

0 commit comments

Comments
 (0)