@@ -36,10 +36,10 @@ export const description: INodeProperties[] = [
|
||||
action: 'Get an asset',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all assets',
|
||||
action: 'Get all assets',
|
||||
description: 'Get many assets',
|
||||
action: 'Get many assets',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -75,7 +75,7 @@ export const description: INodeProperties[] = [
|
||||
value: 'VIRTUAL',
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
default: 'PHYSICAL',
|
||||
description: 'The type of the asset',
|
||||
},
|
||||
{
|
||||
@@ -188,7 +188,7 @@ export async function execute(
|
||||
}
|
||||
`;
|
||||
|
||||
const input: Record<string, any> = { id };
|
||||
const input: Record<string, string | number | string[]> = { id };
|
||||
if (name) input.name = name;
|
||||
if (amount) input.amount = amount;
|
||||
if (ownerId) input.ownerId = ownerId;
|
||||
|
||||
Reference in New Issue
Block a user