let rels: Vec<Relationship> = if !rspstatus.is_success() {
Err(ClientError::UrlError(url.clone(), rspstatus.to_string()))
} else {
- match serde_json::from_str(dbg!(&rsp.text()?)) {
+ match serde_json::from_str(&rsp.text()?) {
Ok(ac) => Ok(ac),
Err(e) => Err(ClientError::UrlError(
url.clone(), e.to_string())),
let sts: Vec<Status> = match serde_json::from_str(&body) {
Ok(sts) => Ok(sts),
Err(e) => {
- dbg!(&body);
Err(ClientError::UrlError(url.clone(), e.to_string()))
},
}?;
&body) {
Ok(nots) => Ok(nots),
Err(e) => {
- dbg!(&body);
Err(ClientError::UrlError(url.clone(), e.to_string()))
},
}?;
if s.is_empty() {
LogicalAction::PopOverlaySilent
} else {
- match dbg!(client.account_by_name(s)) {
+ match client.account_by_name(s) {
Ok(account) => LogicalAction::Goto(
UtilityActivity::ExamineUser(account.id).into()),