Removed comments

This commit is contained in:
franklinblanco 2022-07-17 09:43:03 -04:00
parent e8c169f325
commit 3de2319fd7
1 changed files with 1 additions and 8 deletions

View File

@ -12,11 +12,4 @@ pub async fn find_user_by_email(conn: &MySqlPool, email: &String, app: &String)
}
pub async fn _find_user_by_id(conn: &MySqlPool, id: &i32) -> Result<User, sqlx::Error> {
sqlx::query_file_as!(User, "sql/schema/user/find_with_id.sql", id).fetch_one(conn).await
}
//pub async fn _update_user(conn: &mut MySqlConnection, user_to_modify: &User) -> Result<(), sqlx::Error>{
// Ok(())
//}
/*pub async fn find_user_by_id(_conn: &mut MySqlConnection, _id: i32) -> Result<(), ()>{
//println!("{:?}", user::select(user, (id, name, time_created)).load::<User>(_conn));
Ok(())
}*/
}