summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm
index 58c9263..dcd4075 100755
--- a/lib/Travelynx/Controller/Profile.pm
+++ b/lib/Travelynx/Controller/Profile.pm
@@ -408,8 +408,11 @@ sub user_status {
$self->respond_to(
json => {
json => {
- name => $name,
- status => $self->get_user_status_json_v1( status => $status ),
+ name => $name,
+ status => $self->get_user_status_json_v1(
+ status => $status,
+ public => 1
+ ),
version => $self->app->config->{version} // 'UNKNOWN',
},
},