mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-23 10:32:17 -08:00
fix(TheHive 5 Node): The Hive - Custom fields are no longer working (#8780)
This commit is contained in:
parent
7d82dc1ea8
commit
961d6b9266
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue