Revert "filtering_removed_comments_search"

This reverts commit 6e9b1de7a2.
pull/4634/head
tracyspacy 1 month ago
parent 4098620180
commit 4f58fd800b

@ -201,12 +201,6 @@ pub async fn search(
} }
}; };
//filtering out removed comments from search results
let comments = comments
.into_iter()
.filter(|c| !c.comment.removed)
.collect();
// Return the jwt // Return the jwt
Ok(Json(SearchResponse { Ok(Json(SearchResponse {
type_: search_type, type_: search_type,

Loading…
Cancel
Save