diff --git a/thoth-client/src/lib.rs b/thoth-client/src/lib.rs index e6d08de9..fce8c31c 100644 --- a/thoth-client/src/lib.rs +++ b/thoth-client/src/lib.rs @@ -173,8 +173,8 @@ impl ThothClient { /// /// # async fn run() -> ThothResult { /// let thoth_client = ThothClient::new("https://api.thoth.pub/graphql".to_string()); - /// let publisher_id = Uuid::parse_str("00000000-0000-0000-AAAA-000000000001")?; - /// let work_last_updated = thoth_client.get_work_last_updated(publisher_id).await?; + /// let work_id = Uuid::parse_str("00000000-0000-0000-AAAA-000000000001")?; + /// let work_last_updated = thoth_client.get_work_last_updated(work_id).await?; /// # Ok(work_last_updated) /// # } /// ```