Skip to content

Commit

Permalink
fix(TheHive 5 Node): The Hive - Custom fields are no longer working (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency authored Mar 1, 2024
1 parent 7d82dc1 commit 961d6b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 961d6b9

Please sign in to comment.