Skip to content

Commit c59a91d

Browse files
authored
Merge pull request #4189 from adamfarhadi/patch-4
Update part6c.md
2 parents dccecb3 + cdb75ad commit c59a91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/6/en/part6c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ If the request is successful, the data contained in the response is converted to
113113
const data = await response.json()
114114
```
115115

116-
_fetch_ does not automatically convert any data included in the response to JSON format; the conversion must be done manually. It is also important to note that _response.json()_ is an asynchronous method, so the <i>await</i> keyword.
116+
_fetch_ does not automatically convert any data included in the response to JSON format; the conversion must be done manually. It is also important to note that _response.json()_ is an asynchronous method, so the <i>await</i> keyword is required.
117117

118118
Let's further simplify the code by directly returning the data returned by the _response.json()_ method:
119119

0 commit comments

Comments
 (0)