summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-23 21:16:59 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-23 21:16:59 +0200
commit68468379e5f60e257f7276d08251d93db4af6ea2 (patch)
treeb70f35bb53f569cc82e27e898fd5a903a333bc7e
parent47b4aa5f63e165fc5864d258bf6bc0fd07887593 (diff)
user_status: request public json entry1.31.5
-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',
},
},