1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Merge pull request #535 from turbo124/master

swapped out user_id for public_id
This commit is contained in:
David Bomba 2015-11-19 14:03:16 +11:00
commit f2fdb7f51c

View File

@ -68,7 +68,7 @@ class ClientTransformer extends EntityTransformer
'name' => $client->name,
'balance' => (float) $client->balance,
'paid_to_date' => (float) $client->paid_to_date,
'user_id' => (int) $client->user_id,
'user_id' => (int) $client->user->public_id,
'account_key' => $this->account->account_key,
'updated_at' => $client->updated_at,
'deleted_at' => $client->deleted_at,