Fix style

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-12-02 14:12:58 +01:00
parent b0e475301a
commit d710f5af73
18 changed files with 71 additions and 52 deletions

View File

@@ -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',

View File

@@ -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;