Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix: hook trigger
Browse files Browse the repository at this point in the history
add: debug mode
  • Loading branch information
mauricerenck committed Aug 10, 2020
1 parent a8d652e commit 64adef0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mauricerenck/tratschtante",
"version": "1.0.2",
"version": "1.0.3",
"description": "Kirby Webmentions your plugins can subscribe to",
"type": "kirby-plugin",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

return [
'secret' => null,
'debug' => false,
];
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
}

$hookHelper->triggerHook('tratschtante.webhook.received', $webmention, $targetPage);
$hookHelper->triggerHook('tratschtante.webhook.received', ['webmention' => $webmention, 'targetPage' => $targetPage]);

return $webmention;
}
Expand Down

0 comments on commit 64adef0

Please sign in to comment.