summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 643024b..5ae7a9f 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1696,7 +1696,7 @@ sub startup {
'get_user_status_json_v1' => sub {
my ( $self, %opt ) = @_;
my $uid = $opt{uid};
- my $status = $self->get_user_status($uid);
+ my $status = $opt{status} // $self->get_user_status($uid);
my $ret = {
deprecated => \0,