Fix for start/stop task with API
This commit is contained in:
parent
034f86a03e
commit
faad8e36bb
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ class BaseAPIController extends Controller
|
|||
$entity = $request->entity();
|
||||
$action = $request->action;
|
||||
|
||||
if (! in_array($action, ['archive', 'delete', 'restore', 'mark_sent'])) {
|
||||
if (! in_array($action, ['archive', 'delete', 'restore', 'mark_sent', 'offline'])) {
|
||||
return $this->errorResponse("Action [$action] is not supported");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue