Skip to content

Commit

Permalink
Remove unused operator
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed Feb 7, 2022
1 parent 8eaa4f2 commit 39805d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ const createThresholdTimeline = async (
estypes.SearchResponse<{ '@timestamp': string; [key: string]: unknown }>
>(DETECTION_ENGINE_QUERY_SIGNALS_URL, {
method: 'POST',
body: JSON.stringify(buildAlertsQuery([ecsData._id] ?? [])),
body: JSON.stringify(buildAlertsQuery([ecsData._id])),
});
const formattedAlertData =
alertResponse?.hits.hits.reduce<Ecs[]>((acc, { _id, _index, _source = {} }) => {
Expand Down

0 comments on commit 39805d0

Please sign in to comment.