Skip to content

Commit

Permalink
sike
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhsu committed Jan 14, 2019
1 parent 903f9f3 commit 46ab1c8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/utils/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ var apikey = "b714ec74bbab5650795063cb0fdf5fbe";
// var apikey = "8fad34166684286360dc6d77073bd5e5";
var params = "&APPID=" + apikey;

// function getQueryStringData (city) {
// return {
// q: city,
// type: 'accurate',
// APPID: apikey,
// cnt: 5
// }
// }

module.exports = {
fetchCurrentWeather: function(location) {
var link = window.encodeURI(baseURL + "weather?q=" + location + params);
Expand Down

0 comments on commit 46ab1c8

Please sign in to comment.