Skip to content

Commit

Permalink
Fix discussion op call
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Dec 23, 2024
1 parent a6a15b6 commit 142658e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rfd-api/src/endpoints/rfd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub async fn view_rfd_discussion(
let ctx = rqctx.context();
let caller = ctx.v_ctx().get_caller(&rqctx).await?;
let path = path.into_inner();
view_rfd_comments_op(ctx, &caller, path.number, None).await
view_rfd_discussion_op(ctx, &caller, path.number, None).await
}

// Specific RFD revision endpoints
Expand Down Expand Up @@ -273,7 +273,7 @@ pub async fn view_rfd_revision_discussion(
let ctx = rqctx.context();
let caller = ctx.v_ctx().get_caller(&rqctx).await?;
let path = path.into_inner();
view_rfd_comments_op(ctx, &caller, path.number, Some(path.revision.into())).await
view_rfd_discussion_op(ctx, &caller, path.number, Some(path.revision.into())).await
}

#[derive(Debug, Deserialize, JsonSchema)]
Expand Down

0 comments on commit 142658e

Please sign in to comment.