mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
auth tests
This commit is contained in:
parent
b4db54cb1f
commit
a71fa25ebe
7 changed files with 129 additions and 35 deletions
|
@ -77,7 +77,7 @@ impl From<SearchQueryGet> for SearchQuery {
|
|||
}
|
||||
}
|
||||
|
||||
async fn search_with_url_query(
|
||||
pub async fn search_with_url_query(
|
||||
data: GuardedData<Public, Data>,
|
||||
path: web::Path<IndexParam>,
|
||||
params: web::Query<SearchQueryGet>,
|
||||
|
@ -94,7 +94,7 @@ async fn search_with_url_query(
|
|||
Ok(HttpResponse::Ok().json(search_result))
|
||||
}
|
||||
|
||||
async fn search_with_post(
|
||||
pub async fn search_with_post(
|
||||
data: GuardedData<Public, Data>,
|
||||
path: web::Path<IndexParam>,
|
||||
params: web::Json<SearchQuery>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue