refactor user component and updated onboarding

This commit is contained in:
Ren Amamiya
2023-04-03 08:43:37 +07:00
parent 39e7c9bf34
commit 33000979ed
11 changed files with 89 additions and 129 deletions

View File

@@ -43,7 +43,7 @@ struct CreateFollowData {
#[specta::specta]
async fn get_account(db: DbState<'_>) -> Result<Vec<account::Data>, ()> {
db.account()
.find_many(vec![account::active::equals(true)])
.find_many(vec![account::active::equals(false)])
.exec()
.await
.map_err(|_| ())