Browse Source

Update AccountTransformer

Daniel Supernault 5 years ago
parent
commit
ac0ec74c3d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/Transformer/Api/AccountTransformer.php

+ 1 - 2
app/Transformer/Api/AccountTransformer.php

@@ -37,10 +37,9 @@ class AccountTransformer extends Fractal\TransformerAbstract
 			'header_bg' => $profile->header_bg,
 			'emojis' => [],
 			'moved' => null,
-			'fields' => null,
+			'fields' => [],
 			'bot' => false,
 			'website' => $profile->website,
-			'software' => 'pixelfed',
 			'is_admin' => (bool) $is_admin,
 		];
 	}