mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 00:54:06 -08:00
lint fix
This commit is contained in:
parent
8ed9d1e90c
commit
41d770e9a6
|
@ -45,7 +45,7 @@ const properties: INodeProperties[] = [
|
||||||
name: 'rowId',
|
name: 'rowId',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
description:
|
description:
|
||||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
||||||
required: true,
|
required: true,
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
loadOptionsDependsOn: ['tableName'],
|
loadOptionsDependsOn: ['tableName'],
|
||||||
|
@ -197,7 +197,9 @@ export async function execute(
|
||||||
// Remove duplicates based on "url", keeping the last one
|
// Remove duplicates based on "url", keeping the last one
|
||||||
const uniqueAssets = Array.from(
|
const uniqueAssets = Array.from(
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
mergedArray.reduce((map, asset) => map.set(asset.url, asset), new Map()).values(),
|
mergedArray
|
||||||
|
.reduce((map, asset) => map.set(asset.url, asset), new Map())
|
||||||
|
.values(),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Update the rowInput with the unique assets and store into body.row.
|
// Update the rowInput with the unique assets and store into body.row.
|
||||||
|
|
Loading…
Reference in a new issue