Generic message
Change error text to generic Entity not found.
This commit is contained in:
parent
f5e18f3355
commit
0a4d55e0aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue