Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleSamtoshi committed Feb 16, 2024
1 parent ea6bdbf commit 6d55951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/notifications/src/data_import/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub async fn import_email_addresses(
query_builder.push("ORDER BY traits->>'email' LIMIT 1000;");
let query = query_builder.build();
let res = query.fetch_all(&pool).await?;
if res.len() == 0 {
if res.is_empty() {
break;
}
for row in res {
Expand Down

0 comments on commit 6d55951

Please sign in to comment.