mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Fix incorrect attribute name
This commit is contained in:
parent
7fa4aa93c8
commit
0ccba3e480
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user