Skip to content

Commit

Permalink
Closes elastic#66867 by adding missing, requried API params (elastic#…
Browse files Browse the repository at this point in the history
…68465)

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
ogupte and elasticmachine committed Jun 8, 2020
1 parent 823ce64 commit e296fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/public/services/rest/watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export async function createWatch({
return callApi(http, {
method: 'PUT',
pathname: `/api/watcher/watch/${id}`,
body: { type: 'json', id, watch },
body: { type: 'json', id, watch, isNew: true, isActive: true },
});
}

0 comments on commit e296fb5

Please sign in to comment.