diff --git a/src/core/identity.rs b/src/core/identity.rs index 59f6eed..0e092e0 100644 --- a/src/core/identity.rs +++ b/src/core/identity.rs @@ -322,19 +322,19 @@ async fn cmd_promote(params : ExecBodyParams) { let outmsg = match rslt { ChangeResult::Success(rsltstr) => { format!("o7 Successfully promoted {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::Failed(rsltstr) => { format!("PoroSad failed to promote {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::NoChange(rsltstr) => { format!("uuh No Promotion Change {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } @@ -558,19 +558,19 @@ async fn cmd_demote(params : ExecBodyParams) { let outmsg = match rslt { ChangeResult::Success(rsltstr) => { format!("o7 Successfully demoted {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::Failed(rsltstr) => { format!("PoroSad failed to demote {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::NoChange(rsltstr) => { format!("uuh No Demotion Change {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) }