Skip to content

Commit 98f0de8

Browse files
committed
fix yousign
1 parent d3abaaa commit 98f0de8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Webhooks/YousignWebhookProfile.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ class YousignWebhookProfile implements WebhookProfile
1212
{
1313
public function shouldProcess(Request $request): bool
1414
{
15-
return ! WebhookCall::where('name', 'yousign')->where('payload->id', $request->get('id'))->exists();
15+
return ! WebhookCall::query()
16+
->where('name', 'yousign')
17+
->where('payload->event_id', $request->get('event_id'))
18+
->exists();
1619
}
1720
}

0 commit comments

Comments
 (0)