From 851b3e963cd110b1e1e1f985f656366ff5d19f07 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 21 Jun 2016 19:21:50 +1000 Subject: [PATCH] Add company logo to UserAccount Transformer --- app/Ninja/Transformers/UserAccountTransformer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Ninja/Transformers/UserAccountTransformer.php b/app/Ninja/Transformers/UserAccountTransformer.php index e914a25c66..0d64579e2c 100644 --- a/app/Ninja/Transformers/UserAccountTransformer.php +++ b/app/Ninja/Transformers/UserAccountTransformer.php @@ -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, ]; } } \ No newline at end of file