mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Webhook Node): Setting to enable multiple outputs/methods (#9086)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
@@ -225,10 +225,17 @@ export default defineComponent({
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return this.workflowHelpers.getWebhookExpressionValue(
|
||||
const httpMethod = this.workflowHelpers.getWebhookExpressionValue(
|
||||
this.nodeType.webhooks[0],
|
||||
'httpMethod',
|
||||
false,
|
||||
);
|
||||
|
||||
if (Array.isArray(httpMethod)) {
|
||||
return httpMethod.join(', ');
|
||||
}
|
||||
|
||||
return httpMethod;
|
||||
},
|
||||
webhookTestUrl(): string | undefined {
|
||||
if (!this.node || !this.nodeType?.webhooks?.length) {
|
||||
|
||||
Reference in New Issue
Block a user