octonode
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -115,3 +115,5 @@ // Generated by CoffeeScript 1.9.3 | ||
}, function(err, res, body) { | ||
if (res.statusCode === 404) { | ||
if (err != null) { | ||
return callback(err); | ||
} else if (res.statusCode === 404) { | ||
return callback(new Error('Access token not found')); | ||
@@ -118,0 +120,0 @@ } else { |
@@ -223,3 +223,3 @@ // Generated by CoffeeScript 1.9.3 | ||
Gist.prototype.deleteComment = function(id) { | ||
Gist.prototype.deleteComment = function(id, cb) { | ||
return this.client.del("/gists/comments/" + id, {}, function(err, s, b, h) { | ||
@@ -226,0 +226,0 @@ if (err) { |
{ | ||
"name": "octonode", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (http://pksunkara.github.com)", | ||
@@ -5,0 +5,0 @@ "description": "nodejs wrapper for github v3 api", |
113730
2581