fix search permissions

This commit is contained in:
mpostma 2021-07-07 10:39:04 +02:00
parent 2844fe959f
commit 83725a1330

View File

@ -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> {