fix linting errors

This commit is contained in:
Marcus 2022-11-22 17:40:49 +01:00
commit 8ba653d5eb
2 changed files with 7 additions and 7 deletions

View file

@ -28,14 +28,14 @@ export class HttpBinApi implements ICredentialType {
// stating how this credential is injected as part of the request
// An example is the Http Request node that can make generic calls
// reusing this credential
authenticate = {
authenticate: IAuthenticateGeneric = {
type: 'generic',
properties: {
headers: {
Authorization: '={{"Bearer " + $credentials.token}}',
},
},
} as IAuthenticateGeneric;
};
// The block below tells how this credential can be tested
test: ICredentialTestRequest = {

View file

@ -45,10 +45,10 @@ export const httpVerbOperations: INodeProperties[] = [
// We do that by adding `operation: ["get"]` to `displayOptions.show`
const getOperation: INodeProperties[] = [
{
displayName: 'Type of Data',
name: 'typeofData',
default: 'queryParameter',
description: 'Select type of data to send [Query Parameters]',
displayName: 'Type of Data',
displayOptions: {
show: {
resource: ['httpVerb'],
@ -65,10 +65,10 @@ const getOperation: INodeProperties[] = [
required: true,
},
{
displayName: 'Query Parameters',
name: 'arguments',
default: {},
description: "The request's query parameters",
displayName: 'Query Parameters',
displayOptions: {
show: {
resource: ['httpVerb'],
@ -116,10 +116,10 @@ const getOperation: INodeProperties[] = [
// We do that by adding `operation: ["delete"]` to `displayOptions.show`
const deleteOperation: INodeProperties[] = [
{
displayName: 'Type of Data',
name: 'typeofData',
default: 'queryParameter',
description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
displayName: 'Type of Data',
displayOptions: {
show: {
resource: ['httpVerb'],
@ -140,10 +140,10 @@ const deleteOperation: INodeProperties[] = [
type: 'options',
},
{
displayName: 'Query Parameters',
name: 'arguments',
default: {},
description: "The request's query parameters",
displayName: 'Query Parameters',
displayOptions: {
show: {
resource: ['httpVerb'],
@ -187,10 +187,10 @@ const deleteOperation: INodeProperties[] = [
},
},
{
displayName: 'JSON Object',
name: 'arguments',
default: {},
description: "The request's JSON properties",
displayName: 'JSON Object',
displayOptions: {
show: {
resource: ['httpVerb'],