traewelling pull sync requires user_name to be set

This commit is contained in:
Birte Kristina Friesel 2024-06-06 18:01:34 +02:00
parent 40cbfd62df
commit 14023ad185
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -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;
}