1
0
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:
David Bomba 2016-11-05 06:36:49 +11:00 committed by GitHub
parent f5e18f3355
commit 0a4d55e0aa

View File

@ -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();