mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Deprecate prepareOutputData (no-changelog) (#7091)
This commit is contained in:
committed by
GitHub
parent
c04a996fb4
commit
6aa7b93473
@@ -2187,6 +2187,8 @@ const getCommonWorkflowFunctions = (
|
||||
getRestApiUrl: () => additionalData.restApiUrl,
|
||||
getInstanceBaseUrl: () => additionalData.instanceBaseUrl,
|
||||
getTimezone: () => getTimezone(workflow, additionalData),
|
||||
|
||||
prepareOutputData: async (outputData) => [outputData],
|
||||
});
|
||||
|
||||
const getRequestHelperFunctions = (
|
||||
@@ -2633,7 +2635,6 @@ export function getExecuteFunctions(
|
||||
);
|
||||
return dataProxy.getDataProxy();
|
||||
},
|
||||
prepareOutputData: NodeHelpers.prepareOutputData,
|
||||
binaryToBuffer,
|
||||
async putExecutionToWait(waitTill: Date): Promise<void> {
|
||||
runExecutionData.waitTill = waitTill;
|
||||
@@ -3067,7 +3068,6 @@ export function getExecuteWebhookFunctions(
|
||||
getAdditionalKeys(additionalData, mode, null),
|
||||
),
|
||||
getWebhookName: () => webhookData.webhookDescription.name,
|
||||
prepareOutputData: NodeHelpers.prepareOutputData,
|
||||
helpers: {
|
||||
createDeferredPromise,
|
||||
...getRequestHelperFunctions(workflow, node, additionalData),
|
||||
|
||||
Reference in New Issue
Block a user