1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #924 from turbo124/develop

Add company logo to UserAccount Transformer
This commit is contained in:
David Bomba 2016-06-21 19:23:17 +10:00 committed by GitHub
commit aa3e8e7c67

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,
];
}
}