mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-20 14:57:31 -07: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')) {
|
if (fieldsToMatchOn.includes('id')) {
|
||||||
await theHiveApiRequest.call(this, 'PATCH', `/v1/alert/${id}`, body);
|
await theHiveApiRequest.call(this, 'PATCH', `/v1/alert/${id}`, updateBody);
|
||||||
} else {
|
} else {
|
||||||
const filter = {
|
const filter = {
|
||||||
_name: 'filter',
|
_name: 'filter',
|
||||||
|
|
|
@ -96,7 +96,7 @@ export async function execute(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fieldsToMatchOn.includes('id')) {
|
if (fieldsToMatchOn.includes('id')) {
|
||||||
await theHiveApiRequest.call(this, 'PATCH', `/v1/case/${id}`, body);
|
await theHiveApiRequest.call(this, 'PATCH', `/v1/case/${id}`, updateBody);
|
||||||
} else {
|
} else {
|
||||||
const filter = {
|
const filter = {
|
||||||
_name: 'filter',
|
_name: 'filter',
|
||||||
|
|
Loading…
Reference in a new issue