Skip to content
Snippets Groups Projects
Verified Commit 76653bdd authored by Erick Hitter's avatar Erick Hitter
Browse files

Consistency in semicolons

parent 8a1162e6
Branches
Tags
No related merge requests found
...@@ -47,9 +47,9 @@ app.post('/post', function(req, res){ ...@@ -47,9 +47,9 @@ app.post('/post', function(req, res){
if (!error && response.statusCode == 200) { if (!error && response.statusCode == 200) {
var data = JSON.parse(body); var data = JSON.parse(body);
var temperature = data.current_observation.temperature_string; var temperature = data.current_observation.temperature_string;
var weatherCondition = data.current_observation.weather var weatherCondition = data.current_observation.weather;
var icon_url = data.current_observation.icon_url var icon_url = data.current_observation.icon_url;
var location = data.current_observation.display_location.full var location = data.current_observation.display_location.full;
var body = { var body = {
response_type: "in_channel", response_type: "in_channel",
...@@ -62,6 +62,7 @@ app.post('/post', function(req, res){ ...@@ -62,6 +62,7 @@ app.post('/post', function(req, res){
} }
] ]
}; };
res.send(body); res.send(body);
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment