Merge pull request #1494 from pliablepixels/1493-api-fix-add-monitor-daemonc

don't pass partial data to daemoncontrol
This commit is contained in:
Isaac Connor 2016-05-22 10:15:40 -04:00
commit 47db5819db
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public function beforeFilter() {
$this->Monitor->create();
if ($this->Monitor->save($this->request->data)) {
$this->daemonControl($this->Monitor->id, 'start', $this->request->data);
$this->daemonControl($this->Monitor->id, 'start');
return $this->flash(__('The monitor has been saved.'), array('action' => 'index'));
}
}