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
bcbb68372e
commit
e2e629141b
@ -82,9 +82,6 @@ class ClientApiController extends BaseAPIController
|
|||||||
{
|
{
|
||||||
$client = $this->clientRepo->save($request->input());
|
$client = $this->clientRepo->save($request->input());
|
||||||
|
|
||||||
// refresh contacts
|
|
||||||
$client->load(['contacts']);
|
|
||||||
|
|
||||||
return $this->itemResponse($client);
|
return $this->itemResponse($client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user