Minor improvements to QuestDb-Node

This commit is contained in:
Jan Oberhauser 2020-07-10 10:58:39 +02:00
parent 2a344fbb14
commit ae67735d14
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
export class QuestDB implements ICredentialType {
name = 'questdb';
export class QuestDb implements ICredentialType {
name = 'questDb';
displayName = 'QuestDB';
properties = [
{

View file

@ -5,10 +5,10 @@ import * as pgPromise from 'pg-promise';
import { pgInsert, pgQuery, pgUpdate } from '../Postgres/Postgres.node.functions';
export class QuestDB implements INodeType {
export class QuestDb implements INodeType {
description: INodeTypeDescription = {
displayName: 'QuestDB',
name: 'questdb',
name: 'questDb',
icon: 'file:questdb.png',
group: ['input'],
version: 1,
@ -21,7 +21,7 @@ export class QuestDB implements INodeType {
outputs: ['main'],
credentials: [
{
name: 'questdb',
name: 'questDb',
required: true,
},
],
@ -176,7 +176,7 @@ export class QuestDB implements INodeType {
};
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
const credentials = this.getCredentials('questdb');
const credentials = this.getCredentials('questDb');
if (credentials === undefined) {
throw new Error('No credentials got returned!');

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -112,7 +112,7 @@
"dist/credentials/PipedriveApi.credentials.js",
"dist/credentials/Postgres.credentials.js",
"dist/credentials/PostmarkApi.credentials.js",
"dist/credentials/Questdb.credentials.js",
"dist/credentials/QuestDb.credentials.js",
"dist/credentials/Redis.credentials.js",
"dist/credentials/RocketchatApi.credentials.js",
"dist/credentials/RundeckApi.credentials.js",
@ -261,7 +261,7 @@
"dist/nodes/Pipedrive/PipedriveTrigger.node.js",
"dist/nodes/Postgres/Postgres.node.js",
"dist/nodes/Postmark/PostmarkTrigger.node.js",
"dist/nodes/QuestDB/QuestDB.node.js",
"dist/nodes/QuestDb/QuestDb.node.js",
"dist/nodes/ReadBinaryFile.node.js",
"dist/nodes/ReadBinaryFiles.node.js",
"dist/nodes/ReadPdf.node.js",