fix: [workflowModule:webhook] FIxed typo on parameter type

pull/8670/head
Sami Mokaddem 2022-10-14 15:18:38 +02:00
parent a6e807e1f2
commit b9256157ed
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ class Module_webhook extends WorkflowBaseActionModule
{
public $id = 'webhook';
public $name = 'Webhook';
public $version = '0.2';
public $description = 'Allow to perform custom callbacks to the provided URL';
public $icon_path = 'webhook.png';
public $inputs = 1;
@ -25,7 +26,7 @@ class Module_webhook extends WorkflowBaseActionModule
[
'id' => 'url',
'label' => __('Payload URL'),
'type' => 'text',
'type' => 'input',
'placeholder' => 'https://example.com/test',
],
[
@ -41,7 +42,7 @@ class Module_webhook extends WorkflowBaseActionModule
[
'id' => 'data_extraction_path',
'label' => __('Data extraction path'),
'type' => 'text',
'type' => 'input',
'default' => '',
'placeholder' => 'Attribute.{n}.AttributeTag.{n}.Tag.name',
],