mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Generic message
Change error text to generic Entity not found.
This commit is contained in:
parent
f5e18f3355
commit
0a4d55e0aa
@ -51,7 +51,7 @@ class EntityRequest extends Request {
|
||||
|
||||
if(Request::header('X-Ninja-Token') != '') {
|
||||
|
||||
$error['error'] = ['message'=>trans('texts.client_not_found')];
|
||||
$error['error'] = ['message'=>'Entity not found'];
|
||||
$error = json_encode($error, JSON_PRETTY_PRINT);
|
||||
$headers = Utils::getApiHeaders();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user