1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Add company logo to UserAccount Transformer

This commit is contained in:
David Bomba 2016-06-21 19:21:50 +10:00
parent 5fdfa8c466
commit 851b3e963c

View File

@ -33,7 +33,8 @@ class UserAccountTransformer extends EntityTransformer
'account_key' => $user->account->account_key,
'name' => $user->account->present()->name,
'token' => $user->account->getToken($user->id, $this->tokenName),
'default_url' => SITE_URL
'default_url' => SITE_URL,
'logo' => $user->account->logo,
];
}
}