Skip to content

Commit

Permalink
Closes #66867 by adding missing, requried API params (#68465) (#68522)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
ogupte and elasticmachine authored Jun 8, 2020
1 parent 8d0d5b7 commit d756d0b
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 d756d0b

Please sign in to comment.