Skip to content

Commit

Permalink
remove post
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Jan 24, 2024
1 parent a34b6d1 commit e849ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickwit/quickwit-serve/src/elasticsearch_api/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub(crate) fn elastic_index_stats_filter(

#[utoipa::path(get, tag = "Search", path = "/_stats")]
pub(crate) fn elastic_stats_filter() -> impl Filter<Extract = (), Error = Rejection> + Clone {
warp::path!("_elastic" / "_stats").and(warp::get().or(warp::post()).unify())
warp::path!("_elastic" / "_stats").and(warp::get())
}

#[utoipa::path(get, tag = "Search", path = "/{index}/_search")]
Expand Down

0 comments on commit e849ca6

Please sign in to comment.