... derp
This commit is contained in:
parent
14023ad185
commit
c969424c2d
2 changed files with 2 additions and 5 deletions
|
@ -31,7 +31,7 @@ sub pull_sync {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( not defined $account_data->{data}{user_name} ) {
|
if ( not defined $account_data->{data}{user_name} ) {
|
||||||
$self->app->log->error(
|
$self->app->log->debug(
|
||||||
"travelynx user $account_data->{user_id} has a Traewellig connection, but no username"
|
"travelynx user $account_data->{user_id} has a Traewellig connection, but no username"
|
||||||
);
|
);
|
||||||
next;
|
next;
|
||||||
|
|
|
@ -235,10 +235,7 @@ sub get_pull_accounts {
|
||||||
my $res = $self->{pg}->db->select(
|
my $res = $self->{pg}->db->select(
|
||||||
'traewelling',
|
'traewelling',
|
||||||
[ 'user_id', 'token', 'data' ],
|
[ 'user_id', 'token', 'data' ],
|
||||||
{
|
{ pull_sync => 1 }
|
||||||
pull_sync => 1,
|
|
||||||
user_name => { '!=', undef },
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
return $res->expand->hashes->each;
|
return $res->expand->hashes->each;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue