diff --git a/packages/nodes-base/nodes/TheHiveProject/actions/alert/update.operation.ts b/packages/nodes-base/nodes/TheHiveProject/actions/alert/update.operation.ts index b5ede4590ba2c..aaf0b398ed36f 100644 --- a/packages/nodes-base/nodes/TheHiveProject/actions/alert/update.operation.ts +++ b/packages/nodes-base/nodes/TheHiveProject/actions/alert/update.operation.ts @@ -100,7 +100,7 @@ export async function execute( } if (fieldsToMatchOn.includes('id')) { - await theHiveApiRequest.call(this, 'PATCH', `/v1/alert/${id}`, body); + await theHiveApiRequest.call(this, 'PATCH', `/v1/alert/${id}`, updateBody); } else { const filter = { _name: 'filter', diff --git a/packages/nodes-base/nodes/TheHiveProject/actions/case/update.operation.ts b/packages/nodes-base/nodes/TheHiveProject/actions/case/update.operation.ts index a88ecc47149bf..4b3539bc2e7fe 100644 --- a/packages/nodes-base/nodes/TheHiveProject/actions/case/update.operation.ts +++ b/packages/nodes-base/nodes/TheHiveProject/actions/case/update.operation.ts @@ -96,7 +96,7 @@ export async function execute( } if (fieldsToMatchOn.includes('id')) { - await theHiveApiRequest.call(this, 'PATCH', `/v1/case/${id}`, body); + await theHiveApiRequest.call(this, 'PATCH', `/v1/case/${id}`, updateBody); } else { const filter = { _name: 'filter',