Skip to content

Commit

Permalink
Closes elastic#66867 by adding missing, requried API params
Browse files Browse the repository at this point in the history
  • Loading branch information
ogupte committed Jun 6, 2020
1 parent 77c8aee commit 58d6cab
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 58d6cab

Please sign in to comment.