summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-29 14:45:02 +0200
committerDerf Null <derf@finalrewind.org>2023-05-29 14:45:02 +0200
commitaab9fa7fe295a5aeefe358dd8d6ce55f6c6ea978 (patch)
tree9d25d8eb7b26e3d56f729ea4f3a3b4c743e8ab34 /lib
parentb3f36b750a16920c3aab82d264e2318abc112f9d (diff)
Profile#user_status: use account.name, not just name
Diffstat (limited to 'lib')
-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,