diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-06 18:01:34 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-06 18:01:34 +0200 |
commit | 14023ad185dd49c92a3dd83e02e65bbb761c8a25 (patch) | |
tree | e22dc323104b43579761b90dedc35d43409d9f56 /lib/Travelynx/Model | |
parent | 40cbfd62dfe4d9e67f0988fcd204b46623f5aec0 (diff) |
traewelling pull sync requires user_name to be set2.6.17
Diffstat (limited to 'lib/Travelynx/Model')
-rw-r--r-- | lib/Travelynx/Model/Traewelling.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/Traewelling.pm b/lib/Travelynx/Model/Traewelling.pm index 25648cc..8ed35e5 100644 --- a/lib/Travelynx/Model/Traewelling.pm +++ b/lib/Travelynx/Model/Traewelling.pm @@ -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; } |