summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-03-26 15:55:33 +0200
committerDerf Null <derf@finalrewind.org>2023-03-26 15:55:33 +0200
commit3acee2b285ac81405c5d2ce8889c77460f6f58a0 (patch)
treebab7012fb99bf2aba0698534892e77559c4790a1
parent3a3a7bfedaab71c5641b10c77c51117098a4be60 (diff)
API: import: fix get_api_token signature1.30.9
-rwxr-xr-xlib/Travelynx/Controller/Api.pm2
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 => {