Skip to content

Commit

Permalink
refactor(core): Extract ExecuteContext out of NodeExecutionFunctions …
Browse files Browse the repository at this point in the history
…(no-changelog) (#11853)
  • Loading branch information
netroy authored Nov 26, 2024
1 parent 3aa72f6 commit 75e2b6f
Show file tree
Hide file tree
Showing 22 changed files with 1,813 additions and 1,940 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/credentials-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/* eslint-disable @typescript-eslint/no-unsafe-return */
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
import { In } from '@n8n/typeorm';
import { Credentials, NodeExecuteFunctions } from 'n8n-core';
import { Credentials, getAdditionalKeys } from 'n8n-core';
import type {
ICredentialDataDecryptedObject,
ICredentialsExpressionResolveValues,
Expand Down Expand Up @@ -379,7 +379,7 @@ export class CredentialsHelper extends ICredentialsHelper {
decryptedData.oauthTokenData = decryptedDataOriginal.oauthTokenData;
}

const additionalKeys = NodeExecuteFunctions.getAdditionalKeys(additionalData, mode, null, {
const additionalKeys = getAdditionalKeys(additionalData, mode, null, {
secretsEnabled: canUseSecrets,
});

Expand Down
Loading

0 comments on commit 75e2b6f

Please sign in to comment.