mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)
This commit is contained in:
committed by
GitHub
parent
8c635993bd
commit
bafac73eb5
@@ -1,3 +1,5 @@
|
||||
import basicAuth from 'basic-auth';
|
||||
import jwt from 'jsonwebtoken';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
import type {
|
||||
IWebhookFunctions,
|
||||
@@ -5,10 +7,9 @@ import type {
|
||||
IDataObject,
|
||||
ICredentialDataDecryptedObject,
|
||||
} from 'n8n-workflow';
|
||||
import basicAuth from 'basic-auth';
|
||||
import jwt from 'jsonwebtoken';
|
||||
import { formatPrivateKey } from '../../utils/utilities';
|
||||
|
||||
import { WebhookAuthorizationError } from './error';
|
||||
import { formatPrivateKey } from '../../utils/utilities';
|
||||
|
||||
export type WebhookParameters = {
|
||||
httpMethod: string | string[];
|
||||
@@ -59,7 +60,7 @@ export const getResponseData = (parameters: WebhookParameters) => {
|
||||
};
|
||||
|
||||
export const configuredOutputs = (parameters: WebhookParameters) => {
|
||||
const httpMethod = parameters.httpMethod as string | string[];
|
||||
const httpMethod = parameters.httpMethod;
|
||||
|
||||
if (!Array.isArray(httpMethod))
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user