Skip to content

Commit

Permalink
Fix command naming schema
Browse files Browse the repository at this point in the history
to match what we use elsewhere
  • Loading branch information
lazka committed Dec 17, 2024
1 parent 23df38a commit f8a820f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ dbp_relay_mono_connector_payunity:

## Web Hook

You can use the `dbp:relay-mono-connector-payunity:webhook-info` to see the URL you need to forward to PayUnity the webhook registration:
You can use the `dbp:relay:mono-connector-payunity:webhook-info` to see the URL you need to forward to PayUnity the webhook registration:

```console
./bin/console dbp:relay-mono-connector-payunity:webhook-info payunity_flex_studienservice
./bin/console dbp:relay:mono-connector-payunity:webhook-info payunity_flex_studienservice
Webhook URL for PayUnity:
http://localhost:8000/mono-connector-payunity/webhook/payunity_flex_studienservice
Expand Down
3 changes: 2 additions & 1 deletion src/Webhook/WebhookCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public function __construct(
*/
protected function configure()
{
$this->setName('dbp:relay-mono-connector-payunity:webhook-info');
$this->setName('dbp:relay:mono-connector-payunity:webhook-info');
$this->setAliases(['dbp:relay-mono-connector-payunity:webhook-info']);
$this
->setDescription('Webhook info command')
->addArgument('contract-id', InputArgument::OPTIONAL, 'The contract ID');
Expand Down

0 comments on commit f8a820f

Please sign in to comment.