From 5982afb1bd7f9a8529ed8704fa799e79c7d7bd21 Mon Sep 17 00:00:00 2001 From: Enrico Palmieri <25690552+rezyx@users.noreply.github.com> Date: Sat, 4 May 2019 10:10:02 +0200 Subject: [PATCH] Fix GitHub casing --- 1-js/11-async/03-promise-chaining/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/11-async/03-promise-chaining/article.md b/1-js/11-async/03-promise-chaining/article.md index 62e05bdd..b2ba231e 100644 --- a/1-js/11-async/03-promise-chaining/article.md +++ b/1-js/11-async/03-promise-chaining/article.md @@ -283,14 +283,14 @@ fetch('/article/promise-chaining/user.json') Now let's do something with the loaded user. -For instance, we can make one more request to github, load the user profile and show the avatar: +For instance, we can make one more request to GitHub, load the user profile and show the avatar: ```js run // Make a request for user.json fetch('/article/promise-chaining/user.json') // Load it as json .then(response => response.json()) - // Make a request to github + // Make a request to GitHub .then(user => fetch(`https://api.github.com/users/${user.name}`)) // Load the response as json .then(response => response.json())