mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 08:00:45 +00:00
make get suspended flow job unauthed
This commit is contained in:
@@ -65,10 +65,6 @@ pub fn workspaced_service() -> Router {
|
||||
get(create_job_signature),
|
||||
)
|
||||
.route("/result_by_id/:job_id/:node_id", get(get_result_by_id))
|
||||
.route(
|
||||
"/get_flow/:job_id/:resume_id/:secret",
|
||||
get(get_suspended_job_flow),
|
||||
)
|
||||
}
|
||||
|
||||
pub fn global_service() -> Router {
|
||||
@@ -89,6 +85,10 @@ pub fn global_service() -> Router {
|
||||
"/cancel/:job_id/:resume_id/:secret",
|
||||
post(cancel_suspended_job),
|
||||
)
|
||||
.route(
|
||||
"/get_flow/:job_id/:resume_id/:secret",
|
||||
get(get_suspended_job_flow),
|
||||
)
|
||||
}
|
||||
|
||||
async fn get_result_by_id(
|
||||
|
||||
Reference in New Issue
Block a user