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

... derp

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