From 8d3fbcc997aa03acd3927102f6a07dcce75818c7 Mon Sep 17 00:00:00 2001 From: carsca Date: Fri, 25 Oct 2019 14:11:42 +0200 Subject: [PATCH] Fix typo. --- 5-network/01-fetch/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-network/01-fetch/article.md b/5-network/01-fetch/article.md index 1170042e..7d10954f 100644 --- a/5-network/01-fetch/article.md +++ b/5-network/01-fetch/article.md @@ -89,7 +89,7 @@ fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commi .then(commits => alert(commits[0].author.login)); ``` -To get the reponse text, `await response.text()` instead of `.json()`: +To get the response text, `await response.text()` instead of `.json()`: ```js run async let response = await fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits');