Skip to content

Commit

Permalink
Closes #66867 by adding missing, requried API params (#68465)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
ogupte and elasticmachine committed Jun 8, 2020
1 parent fcab974 commit 2bedb59
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 2bedb59

Please sign in to comment.