1
0
Эх сурвалжийг харах

Update AccountTransformer

Daniel Supernault 6 жил өмнө
parent
commit
25649c70cc

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

@@ -23,8 +23,8 @@ class AccountTransformer extends Fractal\TransformerAbstract
           'url'             => $profile->url(),
           'url'             => $profile->url(),
           'avatar'          => $profile->avatarUrl(),
           'avatar'          => $profile->avatarUrl(),
           'avatar_static'   => $profile->avatarUrl(),
           'avatar_static'   => $profile->avatarUrl(),
-          'header'          => '',
-          'header_static'   => '',
+          'header'          => null,
+          'header_static'   => null,
           'moved'           => null,
           'moved'           => null,
           'fields'          => null,
           'fields'          => null,
           'bot'             => null,
           'bot'             => null,