mirror of
https://github.com/derf/travelynx
synced 2024-12-05 02:39:10 +00:00
... 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} ) {
|
||||
$self->app->log->error(
|
||||
$self->app->log->debug(
|
||||
"travelynx user $account_data->{user_id} has a Traewellig connection, but no username"
|
||||
);
|
||||
next;
|
||||
|
|
|
@ -235,10 +235,7 @@ sub get_pull_accounts {
|
|||
my $res = $self->{pg}->db->select(
|
||||
'traewelling',
|
||||
[ 'user_id', 'token', 'data' ],
|
||||
{
|
||||
pull_sync => 1,
|
||||
user_name => { '!=', undef },
|
||||
}
|
||||
{ pull_sync => 1 }
|
||||
);
|
||||
return $res->expand->hashes->each;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue