From 59cb1a25c6d90b0a86ef20953390c920df6c1105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 2 May 2022 10:33:01 +0200 Subject: [PATCH] :zap: Make options consistent with cred type names --- .../nodes/HttpRequest/HttpRequest.node.ts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts b/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts index 0b49f5a801..3573772a2b 100644 --- a/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts @@ -52,7 +52,7 @@ export class HttpRequest implements INodeType { displayOptions: { show: { authenticateWith: [ - 'basicAuth', + 'httpBasicAuth', ], '@version': [ 2, @@ -66,7 +66,7 @@ export class HttpRequest implements INodeType { displayOptions: { show: { authenticateWith: [ - 'digestAuth', + 'httpDigestAuth', ], '@version': [ 2, @@ -80,7 +80,7 @@ export class HttpRequest implements INodeType { displayOptions: { show: { authenticateWith: [ - 'headerAuth', + 'httpHeaderAuth', ], '@version': [ 2, @@ -94,7 +94,7 @@ export class HttpRequest implements INodeType { displayOptions: { show: { authenticateWith: [ - 'queryAuth', + 'httpQueryAuth', ], '@version': [ 2, @@ -108,7 +108,7 @@ export class HttpRequest implements INodeType { displayOptions: { show: { authenticateWith: [ - 'oAuth1', + 'oAuth1Api', ], '@version': [ 2, @@ -122,7 +122,7 @@ export class HttpRequest implements INodeType { displayOptions: { show: { authenticateWith: [ - 'oAuth2', + 'oAuth2Api', ], '@version': [ 2, @@ -279,30 +279,30 @@ export class HttpRequest implements INodeType { options: [ { name: 'Basic Auth', - value: 'basicAuth', + value: 'httpBasicAuth', }, { name: 'Digest Auth', - value: 'digestAuth', + value: 'httpDigestAuth', }, { name: 'Header Auth', - value: 'headerAuth', + value: 'httpHeaderAuth', }, { name: 'Query Auth', - value: 'queryAuth', + value: 'httpQueryAuth', }, { name: 'OAuth1', - value: 'oAuth1', + value: 'oAuth1Api', }, { name: 'OAuth2', - value: 'oAuth2', + value: 'oAuth2Api', }, ], - default: 'basicAuth', + default: 'httpBasicAuth', displayOptions: { show: { authenticateWith: [