From 2af8e44dd915cf97e03bbf23edbbe6e8d3defddc Mon Sep 17 00:00:00 2001 From: blek Date: Sun, 22 Oct 2023 15:16:47 +1000 Subject: [PATCH] change path to comply with swagger spec --- filed/src/web/api/files/get_all.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filed/src/web/api/files/get_all.rs b/filed/src/web/api/files/get_all.rs index e4d5b08..8af8395 100644 --- a/filed/src/web/api/files/get_all.rs +++ b/filed/src/web/api/files/get_all.rs @@ -29,7 +29,7 @@ pub async fn get_all(state: SharedState) -> Result, Rejection> { } pub fn get_all_f(state: SharedState) -> impl Filter + Clone { - warp::path!("api" / "get_all") + warp::path!("api" / "files" / "get_all") .map(move || state.clone()) .and_then(get_all) } \ No newline at end of file