Correct encoding
This commit is contained in:
parent
fc03309af2
commit
38de75b253
|
@ -886,7 +886,7 @@ pub async fn report_blockages(
|
|||
.unwrap();
|
||||
let resp = client.request(req).await.unwrap();
|
||||
let buf = hyper::body::to_bytes(resp).await.unwrap();
|
||||
let resp_str: String = serde_json::from_slice(&buf).unwrap();
|
||||
let resp_str = String::from_utf8(buf.to_vec()).unwrap();
|
||||
assert_eq!("OK", resp_str);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue