Skip to content

Commit

Permalink
Merge pull request #25 from mateoradman/24-movies-offset
Browse files Browse the repository at this point in the history
#24: force Bazarr API to respect the offset by setting the length que…
  • Loading branch information
mateoradman authored May 18, 2024
2 parents 0afc9c2 + ef481f9 commit b3854dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ impl Action {
T: Debug,
{
if limit_records {
let length: i32 = match self.limit {
Some(val) => val as i32,
None => -1,
let length = match self.limit {
Some(val) => val,
None => std::u32::MAX,
};
url.query_pairs_mut()
.append_pair("length", &length.to_string())
Expand Down

0 comments on commit b3854dd

Please sign in to comment.