mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 19:33:30 +00:00
added error handling to extract_auth_token workflow
This commit is contained in:
14
src/util.rs
14
src/util.rs
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user