Compare commits

..

1 commit

View file

@ -27,11 +27,9 @@ pub async fn describe(
.await
.unwrap();
let machine_id = manager
.machine_id()
.await
.unwrap()
// convert bytes to hex string
let bytes = manager.machine_id().await.unwrap();
// convert bytes to hex string
let machine_id = bytes
.iter()
.map(|&b| format!("{:02x}", b))
.collect::<String>();