fix: had incorrect type on the query
This commit is contained in:
parent
e480665ae9
commit
53409add42
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ async fn check_users(db: &Pool<Sqlite>, mail: &str) -> bool {
|
|||
.is_empty()
|
||||
}
|
||||
async fn check_pending(db: &Pool<Sqlite>, mail: &str) -> bool {
|
||||
sqlx::query_as::<_, Accounts>(
|
||||
sqlx::query_as::<_, AccountsNew>(
|
||||
r#"
|
||||
SELECT *
|
||||
FROM accounts_new
|
||||
|
|
Loading…
Reference in a new issue