fix: disable light mode, return all repos from search
This commit is contained in:
@@ -35,11 +35,5 @@ pub async fn search_repos(
|
||||
.json::<SearchResponse>()
|
||||
.await?;
|
||||
|
||||
Ok(HttpResponse::Ok().json(
|
||||
response
|
||||
.items
|
||||
.into_iter()
|
||||
.filter(|r| r.private == false)
|
||||
.collect::<Vec<Repository>>(),
|
||||
))
|
||||
Ok(HttpResponse::Ok().json(response.items))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user