parent
72776a967a
commit
21f2a21609
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ async fn main() {
|
||||||
|
|
||||||
if let Ok(records) = read_csv(&config) {
|
if let Ok(records) = read_csv(&config) {
|
||||||
for record in records {
|
for record in records {
|
||||||
|
// skynet emails not permitted
|
||||||
|
if record.email.trim().ends_with("@skynet.ie") {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// check if the email is already in the db
|
// check if the email is already in the db
|
||||||
if !check(&db, &record.email).await {
|
if !check(&db, &record.email).await {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue