mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Delete unnecessary interface re-exports from core, and delete unused code in nodes-base (no-changelog) (#6631)
This commit is contained in:
committed by
GitHub
parent
329d22f5d1
commit
e57e85edf7
@@ -130,7 +130,7 @@ export class GoogleSheetsV1 implements INodeType {
|
||||
const usePathForKeyRow = (options.usePathForKeyRow || false) as boolean;
|
||||
|
||||
// Convert data into array format
|
||||
const _data = await sheet.appendSheetData(
|
||||
await sheet.appendSheetData(
|
||||
setData,
|
||||
sheet.encodeRange(range),
|
||||
keyRow,
|
||||
@@ -242,7 +242,7 @@ export class GoogleSheetsV1 implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
const _data = await sheet.spreadsheetBatchUpdate(requests);
|
||||
await sheet.spreadsheetBatchUpdate(requests);
|
||||
|
||||
const items = this.getInputData();
|
||||
return await this.prepareOutputData(items);
|
||||
@@ -395,7 +395,7 @@ export class GoogleSheetsV1 implements INodeType {
|
||||
});
|
||||
}
|
||||
|
||||
const _data = await sheet.batchUpdate(updateData, valueInputMode);
|
||||
await sheet.batchUpdate(updateData, valueInputMode);
|
||||
} else {
|
||||
const keyName = this.getNodeParameter('key', 0) as string;
|
||||
const keyRow = parseInt(this.getNodeParameter('keyRow', 0) as string, 10);
|
||||
@@ -406,7 +406,7 @@ export class GoogleSheetsV1 implements INodeType {
|
||||
setData.push(item.json);
|
||||
});
|
||||
|
||||
const _data = await sheet.updateSheetData(
|
||||
await sheet.updateSheetData(
|
||||
setData,
|
||||
keyName,
|
||||
range,
|
||||
|
||||
Reference in New Issue
Block a user