mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Running cargo fmt.
This commit is contained in:
parent
903d73d665
commit
536313889d
@ -602,7 +602,17 @@ impl Perform<LoginResponse> for Oper<DeleteAccount> {
|
||||
let user_id = claims.id;
|
||||
|
||||
// Comments
|
||||
let comments = CommentView::list(&conn, &SortType::New, None, Some(user_id), None, None, false, None, Some(std::i64::MAX))?;
|
||||
let comments = CommentView::list(
|
||||
&conn,
|
||||
&SortType::New,
|
||||
None,
|
||||
Some(user_id),
|
||||
None,
|
||||
None,
|
||||
false,
|
||||
None,
|
||||
Some(std::i64::MAX),
|
||||
)?;
|
||||
|
||||
for comment in &comments {
|
||||
let comment_form = CommentForm {
|
||||
@ -623,7 +633,21 @@ impl Perform<LoginResponse> for Oper<DeleteAccount> {
|
||||
}
|
||||
|
||||
// Posts
|
||||
let posts = PostView::list(&conn, PostListingType::All, &SortType::New,None, Some(user_id), None, None, None, true, false, false, None, Some(std::i64::MAX))?;
|
||||
let posts = PostView::list(
|
||||
&conn,
|
||||
PostListingType::All,
|
||||
&SortType::New,
|
||||
None,
|
||||
Some(user_id),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
None,
|
||||
Some(std::i64::MAX),
|
||||
)?;
|
||||
|
||||
for post in &posts {
|
||||
let post_form = PostForm {
|
||||
|
Loading…
Reference in New Issue
Block a user