Running cargo fmt.

This commit is contained in:
Dessalines 2019-10-15 15:10:42 -07:00
parent 903d73d665
commit 536313889d
2 changed files with 50 additions and 26 deletions

View file

@ -602,7 +602,17 @@ impl Perform<LoginResponse> for Oper<DeleteAccount> {
let user_id = claims.id; let user_id = claims.id;
// Comments // 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 { for comment in &comments {
let comment_form = CommentForm { let comment_form = CommentForm {
@ -623,7 +633,21 @@ impl Perform<LoginResponse> for Oper<DeleteAccount> {
} }
// Posts // 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 { for post in &posts {
let post_form = PostForm { let post_form = PostForm {