mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(TheHive 5 Node): The Hive - Custom fields are no longer working (#8780)
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user