mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-30 23:13:09 +08:00
fix search permissions
This commit is contained in:
parent
2844fe959f
commit
83725a1330
@ -78,7 +78,7 @@ impl From<SearchQueryGet> for SearchQuery {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn search_with_url_query(
|
async fn search_with_url_query(
|
||||||
data: GuardedData<Admin, Data>,
|
data: GuardedData<Public, Data>,
|
||||||
path: web::Path<IndexParam>,
|
path: web::Path<IndexParam>,
|
||||||
params: web::Query<SearchQueryGet>,
|
params: web::Query<SearchQueryGet>,
|
||||||
) -> Result<HttpResponse, ResponseError> {
|
) -> Result<HttpResponse, ResponseError> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user