From 53409add42f5f4c98ef25d287c8fbfd831a2e00a Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 30 Jul 2023 04:03:03 +0100 Subject: [PATCH] fix: had incorrect type on the query --- src/bin/new_users.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/new_users.rs b/src/bin/new_users.rs index 2c10ac3..97fff36 100644 --- a/src/bin/new_users.rs +++ b/src/bin/new_users.rs @@ -60,7 +60,7 @@ async fn check_users(db: &Pool, mail: &str) -> bool { .is_empty() } async fn check_pending(db: &Pool, mail: &str) -> bool { - sqlx::query_as::<_, Accounts>( + sqlx::query_as::<_, AccountsNew>( r#" SELECT * FROM accounts_new