diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-23 21:16:59 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-23 21:16:59 +0200 |
commit | 68468379e5f60e257f7276d08251d93db4af6ea2 (patch) | |
tree | b70f35bb53f569cc82e27e898fd5a903a333bc7e /lib | |
parent | 47b4aa5f63e165fc5864d258bf6bc0fd07887593 (diff) |
user_status: request public json entry1.31.5
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx/Controller/Profile.pm | 7 |
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', }, }, |