From 5d82cf3d681e506633bba4299c60b2b0a3a90683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Tue, 27 Dec 2016 17:04:13 +0100 Subject: [PATCH] Update README.md --- examples/async-data/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/async-data/README.md b/examples/async-data/README.md index 4dcfa52a19..73cc267fd9 100644 --- a/examples/async-data/README.md +++ b/examples/async-data/README.md @@ -28,7 +28,7 @@ Example with using `async/await`: ```js export default { async data ({ params }) { - let { data } = axios.get(`https://my-api/posts/${params.id}`) + let { data } = await axios.get(`https://my-api/posts/${params.id}`) return { title: data.title } } }