mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
fix: make search use v3 everywhere (#6840)
This commit is contained in:
@@ -250,9 +250,9 @@ pub struct SearchResultsV3 {
|
||||
pub struct SearchResultV3 {
|
||||
pub hits: Vec<serde_json::Value>,
|
||||
#[serde(default)]
|
||||
pub offset: u32,
|
||||
#[serde(default)]
|
||||
pub limit: u32,
|
||||
pub page: u32,
|
||||
#[serde(default, alias = "limit")]
|
||||
pub hits_per_page: u32,
|
||||
#[serde(default)]
|
||||
pub total_hits: u32,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user