Skip to content

Commit

Permalink
Merge branch 'main' into cases_webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Jul 26, 2022
2 parents 3dc2aaf + 7717e90 commit 92672bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function dataAccessLayerFactory(
return context.services.http.post('/api/endpoint/resolver/events', {
query: commonFields.query,
body: JSON.stringify({
...commonFields,
...commonFields.body,
entityType: 'alerts',
eventID: entityID,
}),
Expand All @@ -102,7 +102,7 @@ export function dataAccessLayerFactory(
return context.services.http.post('/api/endpoint/resolver/events', {
query: commonFields.query,
body: JSON.stringify({
...commonFields,
...commonFields.body,
filter: JSON.stringify({
bool: {
filter: [
Expand Down

0 comments on commit 92672bf

Please sign in to comment.