API: import: fix get_api_token signature
This commit is contained in:
parent
3a3a7bfeda
commit
3acee2b285
1 changed files with 1 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue