mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Bug fixes
This commit is contained in:
commit
a6e9c5198d
@ -140,7 +140,7 @@ class ClientApiController extends BaseAPIController
|
||||
$client = Client::scope($publicId)->withTrashed()->first();
|
||||
|
||||
if(!$client)
|
||||
return $this->errorResponse(['message'=>'Client not found.']);
|
||||
return $this->errorResponse(['message'=>'Record not found'], 400);
|
||||
|
||||
$this->clientRepo->archive($client);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user