Skip to content

Commit 9add5e7

Browse files
authored
Merge pull request #2065 from C17AN/patch-1
[Typo Correction] - "fetch" solution typo error
2 parents 665b8eb + 43ff24e commit 9add5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/01-fetch/01-fetch-users/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ To fetch a user we need: `fetch('https://api.github.com/users/USERNAME')`.
33

44
If the response has status `200`, call `.json()` to read the JS object.
55

6-
Otherwise, if a `fetch` fails, or the response has non-200 status, we just return `null` in the resulting arrray.
6+
Otherwise, if a `fetch` fails, or the response has non-200 status, we just return `null` in the resulting array.
77

88
So here's the code:
99

0 commit comments

Comments
 (0)