node-clima
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -126,3 +126,2 @@ var request = require('request'); | ||
if (err) { | ||
console.error(err); | ||
callback(err, body); | ||
@@ -132,3 +131,2 @@ } | ||
if ((response.statusCode === 200) || (response.statusCode === 304)) { | ||
console.log(body); | ||
callback(err, body); | ||
@@ -135,0 +133,0 @@ } |
{ | ||
"name": "node-clima", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Simple wrapper for OpenWeatherMap API", | ||
@@ -18,3 +18,3 @@ "author": "Roberto Serrano Diaz-Grande", | ||
}, | ||
"bugs" : { | ||
"bugs": { | ||
"email": "roberto@serranodiaz.com", | ||
@@ -37,4 +37,4 @@ "url": "https://github.com/robfree/node-clima/issues" | ||
"OpenWeatherMap" | ||
], | ||
"keywords": [ | ||
], | ||
"keywords": [ | ||
"weather", | ||
@@ -41,0 +41,0 @@ "api", |
8499
235