Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
fcab9745e0
commit
2bedb59c8e
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ export async function createWatch({
|
||||||
return callApi(http, {
|
return callApi(http, {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
pathname: `/api/watcher/watch/${id}`,
|
pathname: `/api/watcher/watch/${id}`,
|
||||||
body: { type: 'json', id, watch },
|
body: { type: 'json', id, watch, isNew: true, isActive: true },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue