Make options consistent with cred type names

This commit is contained in:
Iván Ovejero 2022-05-02 10:33:01 +02:00
parent 403e5708a6
commit 59cb1a25c6

View file

@ -52,7 +52,7 @@ export class HttpRequest implements INodeType {
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [
'basicAuth', 'httpBasicAuth',
], ],
'@version': [ '@version': [
2, 2,
@ -66,7 +66,7 @@ export class HttpRequest implements INodeType {
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [
'digestAuth', 'httpDigestAuth',
], ],
'@version': [ '@version': [
2, 2,
@ -80,7 +80,7 @@ export class HttpRequest implements INodeType {
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [
'headerAuth', 'httpHeaderAuth',
], ],
'@version': [ '@version': [
2, 2,
@ -94,7 +94,7 @@ export class HttpRequest implements INodeType {
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [
'queryAuth', 'httpQueryAuth',
], ],
'@version': [ '@version': [
2, 2,
@ -108,7 +108,7 @@ export class HttpRequest implements INodeType {
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [
'oAuth1', 'oAuth1Api',
], ],
'@version': [ '@version': [
2, 2,
@ -122,7 +122,7 @@ export class HttpRequest implements INodeType {
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [
'oAuth2', 'oAuth2Api',
], ],
'@version': [ '@version': [
2, 2,
@ -279,30 +279,30 @@ export class HttpRequest implements INodeType {
options: [ options: [
{ {
name: 'Basic Auth', name: 'Basic Auth',
value: 'basicAuth', value: 'httpBasicAuth',
}, },
{ {
name: 'Digest Auth', name: 'Digest Auth',
value: 'digestAuth', value: 'httpDigestAuth',
}, },
{ {
name: 'Header Auth', name: 'Header Auth',
value: 'headerAuth', value: 'httpHeaderAuth',
}, },
{ {
name: 'Query Auth', name: 'Query Auth',
value: 'queryAuth', value: 'httpQueryAuth',
}, },
{ {
name: 'OAuth1', name: 'OAuth1',
value: 'oAuth1', value: 'oAuth1Api',
}, },
{ {
name: 'OAuth2', name: 'OAuth2',
value: 'oAuth2', value: 'oAuth2Api',
}, },
], ],
default: 'basicAuth', default: 'httpBasicAuth',
displayOptions: { displayOptions: {
show: { show: {
authenticateWith: [ authenticateWith: [