]> Untitled Git - lemmy.git/blobdiff - crates/api/src/post/mark_read.rs
Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857)
[lemmy.git] / crates / api / src / post / mark_read.rs
index 0b777a7e1d4e27354bdb1b51400bd98f49d10ba2..99f539a92e987f61221ed91fcd5ca77627939858 100644 (file)
@@ -28,7 +28,7 @@ impl Perform for MarkPostAsRead {
     }
 
     // Fetch it
-    let post_view = PostView::read(&mut context.pool(), post_id, Some(person_id), None).await?;
+    let post_view = PostView::read(&mut context.pool(), post_id, Some(person_id), false).await?;
 
     Ok(Self::Response { post_view })
   }