Unverified Commit 14023ad1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

traewelling pull sync requires user_name to be set

parent 40cbfd62
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;
}