mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🔀 Merge branch 'master' of github.com:n8n-io/n8n
This commit is contained in:
commit
97efc0b910
|
@ -6,6 +6,7 @@ import {
|
||||||
export class MindeeInvoiceApi implements ICredentialType {
|
export class MindeeInvoiceApi implements ICredentialType {
|
||||||
name = 'mindeeInvoiceApi';
|
name = 'mindeeInvoiceApi';
|
||||||
displayName = 'Mindee Invoice API';
|
displayName = 'Mindee Invoice API';
|
||||||
|
documentationUrl = 'mindee';
|
||||||
properties = [
|
properties = [
|
||||||
{
|
{
|
||||||
displayName: 'API Key',
|
displayName: 'API Key',
|
||||||
|
|
|
@ -6,6 +6,7 @@ import {
|
||||||
export class MindeeReceiptApi implements ICredentialType {
|
export class MindeeReceiptApi implements ICredentialType {
|
||||||
name = 'mindeeReceiptApi';
|
name = 'mindeeReceiptApi';
|
||||||
displayName = 'Mindee Receipt API';
|
displayName = 'Mindee Receipt API';
|
||||||
|
documentationUrl = 'mindee';
|
||||||
properties = [
|
properties = [
|
||||||
{
|
{
|
||||||
displayName: 'API Key',
|
displayName: 'API Key',
|
||||||
|
|
|
@ -6,6 +6,7 @@ import {
|
||||||
export class WufooApi implements ICredentialType {
|
export class WufooApi implements ICredentialType {
|
||||||
name = 'wufooApi';
|
name = 'wufooApi';
|
||||||
displayName = 'Wufoo API';
|
displayName = 'Wufoo API';
|
||||||
|
documentationUrl = 'wufoo';
|
||||||
properties = [
|
properties = [
|
||||||
{
|
{
|
||||||
displayName: 'API Key',
|
displayName: 'API Key',
|
||||||
|
|
|
@ -188,6 +188,16 @@ export class OpenWeatherMap implements INodeType {
|
||||||
description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/',
|
description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
displayName: 'Language',
|
||||||
|
name: 'language',
|
||||||
|
type: 'string',
|
||||||
|
default: '',
|
||||||
|
placeholder: 'en',
|
||||||
|
required: false,
|
||||||
|
description: 'The two letter language code to get your output in (eg. en, de, ...).',
|
||||||
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -206,6 +216,7 @@ export class OpenWeatherMap implements INodeType {
|
||||||
|
|
||||||
let endpoint = '';
|
let endpoint = '';
|
||||||
let locationSelection;
|
let locationSelection;
|
||||||
|
let language;
|
||||||
|
|
||||||
let qs: IDataObject;
|
let qs: IDataObject;
|
||||||
|
|
||||||
|
@ -231,6 +242,11 @@ export class OpenWeatherMap implements INodeType {
|
||||||
throw new Error(`The locationSelection "${locationSelection}" is not known!`);
|
throw new Error(`The locationSelection "${locationSelection}" is not known!`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the language
|
||||||
|
language = this.getNodeParameter('language', i) as string;
|
||||||
|
if (language) {
|
||||||
|
qs.lang = language;
|
||||||
|
}
|
||||||
|
|
||||||
if (operation === 'currentWeather') {
|
if (operation === 'currentWeather') {
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
|
|
Loading…
Reference in a new issue