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 and netroy committed Mar 6, 2024
1 parent e3a1b93 commit 5a56422
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 5a56422

Please sign in to comment.