From 68468379e5f60e257f7276d08251d93db4af6ea2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 23 May 2023 21:16:59 +0200 Subject: user_status: request public json entry --- lib/Travelynx/Controller/Profile.pm | 7 +++++-- 1 file 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', }, }, -- cgit v1.2.3