mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
⚡ Small improvements
This commit is contained in:
parent
545547036a
commit
1f4b8f8999
|
@ -39,7 +39,7 @@ export class ActiveWebhooks {
|
|||
|
||||
//check that there is not a webhook already registed with that path/method
|
||||
if (this.webhookUrls[webhookKey] !== undefined) {
|
||||
throw new Error('There is test wenhook registered on that path');
|
||||
throw new Error(`Test-Webhook can not be activated because another one with the same method "${webhookData.httpMethod}" and path "${webhookData.path}" is already active!`);
|
||||
}
|
||||
|
||||
if (this.workflowWebhooks[webhookData.workflowId] === undefined) {
|
||||
|
|
|
@ -133,7 +133,7 @@ export class Webhook implements INodeType {
|
|||
default: '',
|
||||
placeholder: 'webhook',
|
||||
required: true,
|
||||
description: 'The path to listen to. Slashes("/") in the path are not allowed.',
|
||||
description: 'The path to listen to.',
|
||||
},
|
||||
{
|
||||
displayName: 'Response Code',
|
||||
|
|
Loading…
Reference in a new issue