Skip to content

Commit

Permalink
[Obs AI Assistant] Fix alerts function (#203458)
Browse files Browse the repository at this point in the history
  • Loading branch information
viduni94 committed Dec 10, 2024
1 parent a5c9ed7 commit 29beae1
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,17 @@ export function registerAlertsFunction({
lte: end,
},
},
...kqlQuery,
...(!includeRecovered
? [
{
term: {
[ALERT_STATUS]: ALERT_STATUS_ACTIVE,
},
},
]
: []),
},
...kqlQuery,
...(!includeRecovered
? [
{
term: {
[ALERT_STATUS]: ALERT_STATUS_ACTIVE,
},
},
]
: []),
],
},
},
Expand Down

0 comments on commit 29beae1

Please sign in to comment.