Typo in baserow create operation to match description (#2078)

This commit is contained in:
CFarcy 2021-08-12 14:37:21 +02:00 committed by GitHub
parent 6e930a521f
commit 1825cb4515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,12 +222,11 @@ export class Baserow implements INodeType {
const body: IDataObject = {}; const body: IDataObject = {};
const dataToSend = this.getNodeParameter('dataToSend', 0) as 'defineBelow' | 'autoMapColumns'; const dataToSend = this.getNodeParameter('dataToSend', 0) as 'defineBelow' | 'autoMapInputData';
if (dataToSend === 'autoMapColumns') {
if (dataToSend === 'autoMapInputData') {
const incomingKeys = Object.keys(items[i].json); const incomingKeys = Object.keys(items[i].json);
const rawInputsToIgnore = this.getNodeParameter('inputDataToIgnore', i) as string; const rawInputsToIgnore = this.getNodeParameter('inputsToIgnore', i) as string;
const inputDataToIgnore = rawInputsToIgnore.split(',').map(c => c.trim()); const inputDataToIgnore = rawInputsToIgnore.split(',').map(c => c.trim());
for (const key of incomingKeys) { for (const key of incomingKeys) {