traewelling pull sync requires user_name to be set
This commit is contained in:
parent
40cbfd62df
commit
14023ad185
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue