回答編集履歴

1

最近、typoひどい

2019/03/16 00:43

投稿

Lhankor_Mhy
Lhankor_Mhy

スコア36074

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  function getLocation(city) {
6
6
 
7
- retern fetch(`https://cors-anywhere.herokuapp.com/www.metaweather.com/api/location/search/?query=${city}`)
7
+ return fetch(`https://cors-anywhere.herokuapp.com/www.metaweather.com/api/location/search/?query=${city}`)
8
8
 
9
9
  .then(result => {
10
10
 
@@ -60,7 +60,7 @@
60
60
 
61
61
  function getLocation(city) {
62
62
 
63
- retern fetch(`https://cors-anywhere.herokuapp.com/www.metaweather.com/api/location/search/?query=${city}`)
63
+ return fetch(`https://cors-anywhere.herokuapp.com/www.metaweather.com/api/location/search/?query=${city}`)
64
64
 
65
65
  .then(result => {
66
66