Working on Auto Reconnect to Omikron

This commit is contained in:
Alex Emmet 2025-11-30 22:15:26 +00:00
commit fe0b3f0315
5 changed files with 17 additions and 20 deletions

View file

@ -127,9 +127,7 @@ pub async fn complete_register(user_profile: &UserProfile, iota_id: &str) -> boo
.await
.unwrap();
println!("Status: {}", res.status());
let body = res.text().await.unwrap();
println!("Response body:\n{}", body);
CommunicationValue::from_json(&body).is_type(CommunicationType::success)
}