mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:44:32 -04:00
Undo task change
This commit is contained in:
parent
89dc92a95e
commit
ec8c05a13f
@ -74,7 +74,7 @@ class BaseAPIController extends Controller
|
|||||||
$entity = $request->entity();
|
$entity = $request->entity();
|
||||||
$action = $request->action;
|
$action = $request->action;
|
||||||
|
|
||||||
if (! in_array($action, ['archive', 'delete', 'restore', 'mark_sent', 'offline'])) {
|
if (! in_array($action, ['archive', 'delete', 'restore', 'mark_sent'])) {
|
||||||
return $this->errorResponse("Action [$action] is not supported");
|
return $this->errorResponse("Action [$action] is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user