run widget
This commit is contained in:
@@ -12,6 +12,6 @@ class WidgetApi extends ApiController{
|
|||||||
$response = !$lastValue;
|
$response = !$lastValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->response($response);
|
$this->response(['value' => $response]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user