From 4a8fc1938ccb2e659708a4f00150de8254610574 Mon Sep 17 00:00:00 2001 From: Fuwasegu <52437973+fuwasegu@users.noreply.github.com> Date: Wed, 16 Aug 2023 17:33:09 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Docs:=20fix=20readme=20(#25)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 51bad11..1c2f502 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ async fn main() -> Result<(), Box> { let vars = Vars { id: 1 }; let data = client.query_with_vars::(query, vars).await.unwrap(); - println!("Id: {}, Name: {}", data.user.id, data.user.name); + println!("Id: {}, Name: {}", data.unwrap().user.id, data.unwrap().user.name); Ok(()) } @@ -127,4 +127,4 @@ async fn main() -> Result<(), Box> { Ok(()) } - ``` \ No newline at end of file + ```