Skip to content

Commit

Permalink
Merge pull request #11 from Mause/fix-priorities-type
Browse files Browse the repository at this point in the history
fix priorities to be i8
  • Loading branch information
PanAeon authored Jan 12, 2024
2 parents ee8b0b5 + 6713feb commit 07014c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transmission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ pub struct TorrentDetails {
pub files: Vec<File>,
#[serde(rename = "fileStats")]
pub file_stats: Vec<FileStats>,
pub priorities: Vec<u8>,
pub priorities: Vec<i8>,
//pub wanted: Vec<bool>,
pub peers: Vec<Peer>,
pub trackers: Vec<Tracker>,
Expand Down

0 comments on commit 07014c3

Please sign in to comment.