Skip to content

Commit

Permalink
Move state transition endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Dec 30, 2024
1 parent cd4e62e commit e592513
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 @@ -727,7 +727,7 @@ async fn set_rfd_attr_op(
#[trace_request]
#[endpoint {
method = POST,
path = "/rfd/{number}/discuss",
path = "/rfd/{number}/state/discuss",
}]
#[instrument(skip(rqctx), fields(request_id = rqctx.request_id), err(Debug))]
pub async fn discuss_rfd(
Expand All @@ -754,7 +754,7 @@ pub async fn discuss_rfd(
#[trace_request]
#[endpoint {
method = POST,
path = "/rfd/{number}/publish",
path = "/rfd/{number}/state/publish",
}]
#[instrument(skip(rqctx), fields(request_id = rqctx.request_id), err(Debug))]
pub async fn publish_rfd(
Expand Down

0 comments on commit e592513

Please sign in to comment.