fix: had incorrect type on the query

This commit is contained in:
silver 2023-07-30 04:03:03 +01:00
parent e480665ae9
commit 53409add42

View file

@ -60,7 +60,7 @@ async fn check_users(db: &Pool<Sqlite>, mail: &str) -> bool {
.is_empty() .is_empty()
} }
async fn check_pending(db: &Pool<Sqlite>, mail: &str) -> bool { async fn check_pending(db: &Pool<Sqlite>, mail: &str) -> bool {
sqlx::query_as::<_, Accounts>( sqlx::query_as::<_, AccountsNew>(
r#" r#"
SELECT * SELECT *
FROM accounts_new FROM accounts_new