]> Untitled Git - lemmy.git/blobdiff - src/api_routes.rs
First pass at adding comment trees. (#2362)
[lemmy.git] / src / api_routes.rs
index 36562c88c2daaf8cf07b89b0ea271386f536eddf..2e2d30019ce50e391bf6e3700a9cba7a3af5ab32 100644 (file)
@@ -119,7 +119,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) {
           .route("/remove", web::post().to(route_post_crud::<RemoveComment>))
           .route(
             "/mark_as_read",
-            web::post().to(route_post::<MarkCommentAsRead>),
+            web::post().to(route_post::<MarkCommentReplyAsRead>),
           )
           .route("/like", web::post().to(route_post::<CreateCommentLike>))
           .route("/save", web::put().to(route_post::<SaveComment>))