|
@@ -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);
|
|
|
}
|
|
|
}
|