diff --git a/common/http-api-client/src/lib.rs b/common/http-api-client/src/lib.rs index da9f229f4e..f5c863f914 100644 --- a/common/http-api-client/src/lib.rs +++ b/common/http-api-client/src/lib.rs @@ -520,7 +520,7 @@ where } if res.status().is_success() { - let text = res.text().await?; + let text = res.text()?.await; info!("{:#?}", res); info!("{:#?}", text); let json: Vec = serde_json::from_str(&text)?;