Fix: Added task_id field to our Stamp struct

This commit is contained in:
Óscar M. Lage 2021-11-18 20:56:51 +01:00
parent 90e02aaf40
commit 8a3a4520eb

View File

@ -11,6 +11,9 @@ pub struct Stamp {
pub start: Option<String>, pub start: Option<String>,
pub end: Option<String>, pub end: Option<String>,
pub description: Option<String>, pub description: Option<String>,
pub task_id: Option<u32>,
}
impl Stamp { impl Stamp {
#[tokio::main] #[tokio::main]
pub async fn add(&self, config_file: &PathBuf) -> reqwest::Response { pub async fn add(&self, config_file: &PathBuf) -> reqwest::Response {