diff --git a/src/bin/update_data.rs b/src/bin/update_data.rs index e38ad9b..b99f325 100644 --- a/src/bin/update_data.rs +++ b/src/bin/update_data.rs @@ -44,7 +44,7 @@ async fn update_wolves_id(db: &Pool) { SELECT id_wolves FROM accounts_wolves WHERE accounts.mail=accounts_wolves.email - )", + ) IS NOT NULL", ) .execute(db) .await