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 b5ede4590b..aaf0b398ed 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 a88ecc4714..4b3539bc2e 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',