Skip to content

Commit 7647ab9

Browse files
committed
minor fixes
1 parent f2e4db7 commit 7647ab9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1-js/11-async/08-async-await/01-rewrite-async/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function loadJson(url) { // (1)
1313
throw new Error(response.status);
1414
}
1515

16-
loadJson('no-such-user.json')
16+
loadJson('https://javascript.info/no-such-user.json')
1717
.catch(alert); // Error: 404 (4)
1818
```
1919

1-js/11-async/08-async-await/01-rewrite-async/task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ function loadJson(url) {
1515
});
1616
}
1717

18-
loadJson('no-such-user.json')
18+
loadJson('https://javascript.info/no-such-user.json')
1919
.catch(alert); // Error: 404
2020
```

0 commit comments

Comments
 (0)