Skip to content
Merged
Prev Previous commit
Next Next commit
refactor: remove redundant extractIdempotencyId from linear handler
The idempotency service already uses the Linear-Delivery header
(which Linear always sends) as the primary dedup key. The body-based
fallback was unnecessary defensive code.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
  • Loading branch information
waleedlatif1 and claude committed Apr 7, 2026
commit 0c3121e720fcc335355b233e4e22d30730595482
9 changes: 0 additions & 9 deletions apps/sim/lib/webhooks/providers/linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,4 @@ export const linearHandler: WebhookProviderHandler = {
})
}
},

extractIdempotencyId(body: unknown) {
const obj = body as Record<string, unknown>
const data = obj.data as Record<string, unknown> | undefined
if (obj.action && data?.id) {
return `${obj.action}:${data.id}`
}
return null
},
}
Loading