mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Refresh contacts after saving in API
This commit is contained in:
parent
5e374b2859
commit
bcbb68372e
@ -82,7 +82,7 @@ class ClientApiController extends BaseAPIController
|
|||||||
{
|
{
|
||||||
$client = $this->clientRepo->save($request->input());
|
$client = $this->clientRepo->save($request->input());
|
||||||
|
|
||||||
// refresh contacts
|
// refresh contacts
|
||||||
$client->load(['contacts']);
|
$client->load(['contacts']);
|
||||||
|
|
||||||
return $this->itemResponse($client);
|
return $this->itemResponse($client);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user