summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Profile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm
index a268a23..1660a5b 100755
--- a/lib/Travelynx/Controller/Profile.pm
+++ b/lib/Travelynx/Controller/Profile.pm
@@ -408,7 +408,9 @@ sub user_status {
$self->respond_to(
json => {
json => {
- name => $name,
+ account => {
+ name => $name,
+ },
status => $self->get_user_status_json_v1(
status => $status,
privacy => $user,