aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 11864f1..8209ddb 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -176,7 +176,7 @@ pub async fn device_id(config: &Config) -> Result<String> {
Ok(s.trim().to_string())
} else {
let id = config.device_id.as_ref().map_or_else(
- || uuid::Uuid::new_v4().to_hyphenated().to_string(),
+ || uuid::Uuid::new_v4().hyphenated().to_string(),
String::to_string,
);
let mut fh = tokio::fs::File::create(&file).await.map_err(|e| {