From 0ccba3e480fbcd5110be64c6820defa299677b85 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 11 May 2015 12:12:00 +0930 Subject: [PATCH] Fix incorrect attribute name --- framework/core/src/Api/Serializers/UserSerializer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Api/Serializers/UserSerializer.php b/framework/core/src/Api/Serializers/UserSerializer.php index 1ee17da48..95df80b96 100644 --- a/framework/core/src/Api/Serializers/UserSerializer.php +++ b/framework/core/src/Api/Serializers/UserSerializer.php @@ -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,