Skip to content

Commit

Permalink
fix: [torrust#78] remove unused struct NewTrackerKey
Browse files Browse the repository at this point in the history
It was added because the tracker API was changed, but that change was
reverted here:

torrust/torrust-tracker#109

and it is not used anymore.
  • Loading branch information
josecelano committed Nov 30, 2022
1 parent 83bafb4 commit 728fe8a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/models/tracker_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ pub struct TrackerKey {
pub valid_until: i64,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct NewTrackerKey {
pub key: String,
pub valid_until: Duration,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct Duration {
pub secs: i64,
Expand Down

0 comments on commit 728fe8a

Please sign in to comment.