diff options
Diffstat (limited to 'lib/Travelynx/Model')
-rw-r--r-- | lib/Travelynx/Model/Traewelling.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/Traewelling.pm b/lib/Travelynx/Model/Traewelling.pm index 25648cc..8ed35e5 100644 --- a/lib/Travelynx/Model/Traewelling.pm +++ b/lib/Travelynx/Model/Traewelling.pm @@ -235,7 +235,10 @@ sub get_pull_accounts { my $res = $self->{pg}->db->select( 'traewelling', [ 'user_id', 'token', 'data' ], - { pull_sync => 1 } + { + pull_sync => 1, + user_name => { '!=', undef }, + } ); return $res->expand->hashes->each; } |