added error handling to extract_auth_token workflow

This commit is contained in:
Valmo Trindade
2024-09-19 00:49:00 -03:00
parent 39ffb21721
commit 5c49a26aa4
4 changed files with 61 additions and 19 deletions

View File

@@ -1,5 +1,17 @@
use log::info;
use crate::structs::Marker;
pub fn get_uuid() -> String {
use uuid::Uuid;
Uuid::new_v4().to_string()
}
}
pub async fn post_marker(marker: Marker) -> String {
let placeholder = format!("{} - {}", marker.uid, marker.name);
info!("{}", placeholder);
return placeholder
}