diff --git a/crates/api/src/post/mark_read.rs b/crates/api/src/post/mark_read.rs index 931ec0e13..944196c8d 100644 --- a/crates/api/src/post/mark_read.rs +++ b/crates/api/src/post/mark_read.rs @@ -13,7 +13,7 @@ pub async fn mark_post_as_read( ) -> Result, LemmyError> { let mut post_ids = HashSet::new(); if let Some(post_ids_) = &data.post_ids { - post_ids.extend(&post_ids_.iter().cloned().collect::>()); + post_ids.extend(post_ids_.iter().cloned().collect::>()); } if let Some(post_id) = data.post_id {