From e592513d1a42c3509c2a1bdbe8efbdcac3399c1b Mon Sep 17 00:00:00 2001 From: Augustus Mayo Date: Mon, 30 Dec 2024 12:24:09 -0600 Subject: [PATCH] Move state transition endpoints --- rfd-api/src/endpoints/rfd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rfd-api/src/endpoints/rfd.rs b/rfd-api/src/endpoints/rfd.rs index 7a059408..3e4b0996 100644 --- a/rfd-api/src/endpoints/rfd.rs +++ b/rfd-api/src/endpoints/rfd.rs @@ -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( @@ -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(