diff --git a/index.js b/index.js index 65e6a4f4a4335b16da97c56a91a639cde91b887b..ae3b4dc5f1f971ba610450f22823de24d6e998ca 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ app.post('/post', function(req, res){ request(parsed_url, function (error, response, body) { if (!error && response.statusCode == 200) { var data = JSON.parse(body); - var first_url = data.response.current_observation.station_id; + var first_url = data.current_observation.station_id; var body = { response_type: "in_channel",