Skip to content

Commit

Permalink
Fix create hook command
Browse files Browse the repository at this point in the history
  • Loading branch information
8ctopus committed May 28, 2024
1 parent 1f4a10e commit 7682034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
dump($webhooks->show($args['id']));
});

$router->add('hooks add <url>', static function (array $args) use ($sandbox, $handler, $auth) : void {
$router->add('hooks create <url>', static function (array $args) use ($sandbox, $handler, $auth) : void {
$webhooks = new Hooks($sandbox, $handler, $auth);
$webhooks->create($args['url'], [
// a payment on a subscription was made
Expand Down

0 comments on commit 7682034

Please sign in to comment.