completed most of 05 ticket v2
This commit is contained in:
@@ -36,7 +36,10 @@ impl Ticket {
|
||||
}
|
||||
}
|
||||
pub fn assigned_to(&self) -> Option<&String> {
|
||||
todo!()
|
||||
let Status::InProgress { assigned_to } = &self.status else {
|
||||
return None;
|
||||
};
|
||||
Some(assigned_to)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user