mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Respond to Webhook Node): Setting to configure outputs (#15619)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
export const configuredOutputs = (version: number) => {
|
||||
if (version >= 1.3) {
|
||||
export const configuredOutputs = (
|
||||
version: number,
|
||||
parameters: { enableResponseOutput?: boolean },
|
||||
) => {
|
||||
const multipleOutputs = version === 1.3 || (version >= 1.4 && parameters.enableResponseOutput);
|
||||
if (multipleOutputs) {
|
||||
return [
|
||||
{
|
||||
type: 'main',
|
||||
|
||||
Reference in New Issue
Block a user