mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
⚡ Minor improvements to QuestDb-Node
This commit is contained in:
parent
2a344fbb14
commit
ae67735d14
|
@ -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 = [
|
||||
{
|
|
@ -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!');
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue