From 3acee2b285ac81405c5d2ce8889c77460f6f58a0 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Sun, 26 Mar 2023 15:55:33 +0200 Subject: [PATCH] API: import: fix get_api_token signature --- lib/Travelynx/Controller/Api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => {