mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Avoid passing around static state like default timezone (no-changelog) (#7221)
This commit is contained in:
committed by
GitHub
parent
62c096710f
commit
35bb42c1b9
@@ -885,7 +885,6 @@ export function getNodeWebhooks(
|
||||
node,
|
||||
webhookDescription.path,
|
||||
mode,
|
||||
additionalData.timezone,
|
||||
{},
|
||||
);
|
||||
if (nodeWebhookPath === undefined) {
|
||||
@@ -909,7 +908,6 @@ export function getNodeWebhooks(
|
||||
node,
|
||||
webhookDescription.isFullPath,
|
||||
'internal',
|
||||
additionalData.timezone,
|
||||
{},
|
||||
undefined,
|
||||
false,
|
||||
@@ -918,7 +916,6 @@ export function getNodeWebhooks(
|
||||
node,
|
||||
webhookDescription.restartWebhook,
|
||||
'internal',
|
||||
additionalData.timezone,
|
||||
{},
|
||||
undefined,
|
||||
false,
|
||||
@@ -929,7 +926,6 @@ export function getNodeWebhooks(
|
||||
node,
|
||||
webhookDescription.httpMethod,
|
||||
mode,
|
||||
additionalData.timezone,
|
||||
{},
|
||||
undefined,
|
||||
'GET',
|
||||
@@ -1037,7 +1033,6 @@ export function getNodeInputs(
|
||||
node,
|
||||
nodeTypeData.inputs,
|
||||
'internal',
|
||||
'',
|
||||
{},
|
||||
) || []) as ConnectionTypes[];
|
||||
} catch (e) {
|
||||
@@ -1060,7 +1055,6 @@ export function getNodeOutputs(
|
||||
node,
|
||||
nodeTypeData.outputs,
|
||||
'internal',
|
||||
'',
|
||||
{},
|
||||
) || []) as ConnectionTypes[];
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user