forked from didirus/AstralRinth
Fix user deletion (#907)
* Fix user deletion * run prep+fmt * Update validators
This commit is contained in:
@@ -191,7 +191,12 @@ pub async fn search_for_project(
|
||||
|
||||
let offset: usize = info.offset.as_deref().unwrap_or("0").parse()?;
|
||||
let index = info.index.as_deref().unwrap_or("relevance");
|
||||
let limit = info.limit.as_deref().unwrap_or("10").parse::<usize>()?.min(100);
|
||||
let limit = info
|
||||
.limit
|
||||
.as_deref()
|
||||
.unwrap_or("10")
|
||||
.parse::<usize>()?
|
||||
.min(100);
|
||||
|
||||
let sort = get_sort_index(config, index)?;
|
||||
let meilisearch_index = client.get_index(sort.0).await?;
|
||||
|
||||
Reference in New Issue
Block a user