]> Untitled Git - lemmy.git/blobdiff - crates/api/src/local_user/notifications/list_replies.rs
Make functions work with both connection and pool (#3420)
[lemmy.git] / crates / api / src / local_user / notifications / list_replies.rs
index 6d1d8f0bd3ea871b1b11cc68362e6f9986d59555..79b0fe223b6ca467b153d3f5a21a2814fd7187ff 100644 (file)
@@ -25,7 +25,7 @@ impl Perform for GetReplies {
     let show_bot_accounts = Some(local_user_view.local_user.show_bot_accounts);
 
     let replies = CommentReplyQuery::builder()
-      .pool(context.pool())
+      .pool(&mut context.pool())
       .recipient_id(person_id)
       .my_person_id(person_id)
       .sort(sort)