diff options
author | Derf Null <derf@finalrewind.org> | 2023-03-26 15:55:33 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-03-26 15:55:33 +0200 |
commit | 3acee2b285ac81405c5d2ce8889c77460f6f58a0 (patch) | |
tree | bab7012fb99bf2aba0698534892e77559c4790a1 /lib | |
parent | 3a3a7bfedaab71c5641b10c77c51117098a4be60 (diff) |
API: import: fix get_api_token signature1.30.9
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx/Controller/Api.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Api.pm b/lib/Travelynx/Controller/Api.pm index 6356dc2..0f92c84 100755 --- a/lib/Travelynx/Controller/Api.pm +++ b/lib/Travelynx/Controller/Api.pm @@ -412,7 +412,7 @@ sub import_v1 { return; } - my $token = $self->users->get_api_token($uid); + my $token = $self->users->get_api_token( uid => $uid ); if ( not $token->{'import'} or $api_token ne $token->{'import'} ) { $self->render( json => { |