From ec734bb9d1a9ec596f0a51ff30ed32c66f947244 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Mon, 17 Jun 2024 18:47:24 -0400 Subject: [PATCH] Revert "fix error" This reverts commit dcb66576daf4a2a345a8c446ad5e1d8e93c83af5. --- common/http-api-client/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)?;