Skip to content

Commit

Permalink
Merge pull request #52 from go-bazzinga/9-add-login-page
Browse files Browse the repository at this point in the history
added logs for kv
  • Loading branch information
rosarp-gobazzinga authored Feb 2, 2024
2 parents 7d28abb + 13beb05 commit 9edd279
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cloudflare-api/src/connect/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ impl HttpApiClient {
}
info!("RequestBuilder: {:?}", request_builder);
let response = request_builder.send().await?;
// let txt = response.text().await?;
// info!("KV Response: {}", txt);
// let body: T = serde_json::from_str(&txt).unwrap();
let body = response.json::<T>().await?;
let txt = response.text().await?;
info!("KV Response: {}", txt);
let body: T = serde_json::from_str(&txt).unwrap();
// let body = response.json::<T>().await?;
Ok(body)
}

Expand Down

0 comments on commit 9edd279

Please sign in to comment.