Add missing .await? to README

This commit is contained in:
asonix 2020-04-21 13:04:25 -05:00
parent 0175c5e1af
commit 6935604d0f

View file

@ -38,6 +38,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.authorization_signature_with_digest(&config, "my-key-id", &mut digest, "Hewwo-owo", |s| {
Ok(base64::encode(s)) as Result<_, MyError>
})?
.await?
.send()
.await
.map_err(|e| {