Skip to content

Commit

Permalink
Merge #90: Remove unused struct NewTrackerKey
Browse files Browse the repository at this point in the history
728fe8a fix: [#78] remove unused struct NewTrackerKey (Jose Celano)

Pull request description:

  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.

ACKs for top commit:
  da2ce7:
    ACK 728fe8a

Tree-SHA512: 3bad8b9d0f38c0567e52d163c37fdc4dfde776d03666486416a833e290a29a7853e841853f7e5000ddeca9712ecebebecc200f86e97c647095dc6e36ceb13246
  • Loading branch information
josecelano committed Nov 30, 2022
2 parents 83bafb4 + 728fe8a commit 0711c3d
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 0711c3d

Please sign in to comment.