mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:14:28 -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();
|
||||
$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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user