Fix incorrect attribute name

This commit is contained in:
Toby Zerner 2015-05-11 12:12:00 +09:30
parent 7fa4aa93c8
commit 0ccba3e480

View File

@ -23,7 +23,7 @@ class UserSerializer extends UserBasicSerializer
$canEdit = $user->can($actorUser, 'edit');
$attributes += [
'bioHtml' => $user->bioHtml,
'bioHtml' => $user->bio_html,
'joinTime' => $user->join_time ? $user->join_time->toRFC3339String() : null,
'discussionsCount' => (int) $user->discussions_count,
'commentsCount' => (int) $user->comments_count,