Skip to content

Commit

Permalink
🚑 Fix webhook creation (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
jheubuch authored Sep 29, 2023
1 parent acf8a8f commit a7660e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function extendResponseWithWebhookData(ServerRequestInterface $request
}
$body = $requestInterface->getParsedBody();
// Only create webhook on authorization code grant type.
if ($body['grant_type'] != 'code' ) {
if ($body['grant_type'] != 'authorization_code' ) {
return $response;
}

Expand Down

0 comments on commit a7660e4

Please sign in to comment.