Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wthijmen committed Nov 6, 2023
1 parent 1f2e48c commit fbdea4f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/App/Webhook/PdkWebhookManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ private function getHooks(Request $request): array
$body = json_decode($request->getContent(), true);
$hooks = $body['data']['hooks'] ?? [];

if (! isset($myParcelHeader)) {
return $hooks;
}

return array_map(static function ($hook) use ($myParcelHeader) {
$hook['event'] = $myParcelHeader;

Expand Down

0 comments on commit fbdea4f

Please sign in to comment.