Skip to content

Commit 0c3121e

Browse files
waleedlatif1claude
andcommitted
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>
1 parent d69c50b commit 0c3121e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

apps/sim/lib/webhooks/providers/linear.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,4 @@ export const linearHandler: WebhookProviderHandler = {
293293
})
294294
}
295295
},
296-
297-
extractIdempotencyId(body: unknown) {
298-
const obj = body as Record<string, unknown>
299-
const data = obj.data as Record<string, unknown> | undefined
300-
if (obj.action && data?.id) {
301-
return `${obj.action}:${data.id}`
302-
}
303-
return null
304-
},
305296
}

0 commit comments

Comments
 (0)