]> Untitled Git - lemmy.git/blobdiff - crates/api/src/local_user/notifications/mark_reply_read.rs
Diesel 2.0.0 upgrade (#2452)
[lemmy.git] / crates / api / src / local_user / notifications / mark_reply_read.rs
index 46d158863165a108cdb14b27e889061e461a5f49..3e502f39c5d0e6b1122612caf42c7528ab57b413 100644 (file)
@@ -35,7 +35,7 @@ impl Perform for MarkCommentReplyAsRead {
 
     let comment_reply_id = read_comment_reply.id;
     let read = data.read;
-    let update_reply = move |conn: &'_ _| CommentReply::update_read(conn, comment_reply_id, read);
+    let update_reply = move |conn: &mut _| CommentReply::update_read(conn, comment_reply_id, read);
     blocking(context.pool(), update_reply)
       .await?
       .map_err(|e| LemmyError::from_error_message(e, "couldnt_update_comment"))?;