From 4899ff34790280a5a11298a4ac035f8a3dd3d5e8 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 20 Sep 2019 23:56:00 -0600 Subject: [PATCH] Update AccounTransformer --- app/Transformer/Api/AccountTransformer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Transformer/Api/AccountTransformer.php b/app/Transformer/Api/AccountTransformer.php index 42a35c149..45d48ff08 100644 --- a/app/Transformer/Api/AccountTransformer.php +++ b/app/Transformer/Api/AccountTransformer.php @@ -36,13 +36,13 @@ class AccountTransformer extends Fractal\TransformerAbstract 'header_static' => null, 'header_bg' => $profile->header_bg, 'moved' => null, - 'fields' => [], + 'fields' => null, 'bot' => null, 'website' => $profile->website, 'software' => 'pixelfed', 'is_admin' => (bool) $is_admin, 'last_status_at' => null, - 'emojis' => [], + 'emojis' => null, ]; }