Skip to content

Commit

Permalink
fix(indexers/crates-io): rename max_pages field to correct maxPages i…
Browse files Browse the repository at this point in the history
…nstead of maxPackagesCount
  • Loading branch information
yusdacra committed Jul 29, 2022
1 parent e2ab650 commit 26dce97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indexers/crates-io/indexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mod indexer {
#[serde(default)]
pub verbose: bool,
/// Amount of pages to fetch from crates.io. Minimum is `1`.
#[serde(rename = "maxPackagesCount")]
#[serde(rename = "maxPages")]
#[serde(default = "default_max_pages")]
pub max_pages: u32,
/// What to sort by. This is passed to the crates.io API as is.
Expand Down

0 comments on commit 26dce97

Please sign in to comment.