change path to comply with swagger spec
This commit is contained in:
parent
f8172d7e61
commit
2af8e44dd9
|
@ -29,7 +29,7 @@ pub async fn get_all(state: SharedState) -> Result<Box<dyn Reply>, Rejection> {
|
|||
}
|
||||
|
||||
pub fn get_all_f(state: SharedState) -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone {
|
||||
warp::path!("api" / "get_all")
|
||||
warp::path!("api" / "files" / "get_all")
|
||||
.map(move || state.clone())
|
||||
.and_then(get_all)
|
||||
}
|
Loading…
Reference in New Issue