Skip to content

Commit

Permalink
fix: remove unused model parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-pitblado committed Nov 11, 2024
1 parent 36903e3 commit 3fecc31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ pub struct Task {
// TaskDetail struct with description
#[derive(Deserialize, Debug)]
pub struct TaskDetail {
pub id: u64,
pub title: String,
pub done: bool,
pub due_date: Option<String>,
pub labels: Option<Vec<Label>>,
pub priority: Option<i32>,
Expand All @@ -23,6 +20,5 @@ pub struct TaskDetail {
// Label struct
#[derive(Deserialize, Debug)]
pub struct Label {
pub id: u64,
pub title: String,
}

0 comments on commit 3fecc31

Please sign in to comment.