summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-06 19:40:59 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-06 19:40:59 +0200
commitc969424c2d27bd862354b29a43082ded885dc69f (patch)
tree7650091c651ee9150d5b383cb6cb3759d3e9cefd
parent14023ad185dd49c92a3dd83e02e65bbb761c8a25 (diff)
... derp2.6.18
-rw-r--r--lib/Travelynx/Command/traewelling.pm2
-rw-r--r--lib/Travelynx/Model/Traewelling.pm5
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/Travelynx/Command/traewelling.pm b/lib/Travelynx/Command/traewelling.pm
index 96fac49..8f62c2b 100644
--- a/lib/Travelynx/Command/traewelling.pm
+++ b/lib/Travelynx/Command/traewelling.pm
@@ -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;
diff --git a/lib/Travelynx/Model/Traewelling.pm b/lib/Travelynx/Model/Traewelling.pm
index 8ed35e5..25648cc 100644
--- a/lib/Travelynx/Model/Traewelling.pm
+++ b/lib/Travelynx/Model/Traewelling.pm
@@ -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;
}