Browse files

=-=

  • Loading branch information...
1 parent ccf9c93 commit bf4971169633cc52ea085f5b6ce1a54d213703ca @btspoony committed Jan 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/qq.js
View
2 lib/qq.js
@@ -57,7 +57,7 @@ QQ.prototype.request = function(method, isHttps, uri, params, callback) {
if(obj.ret == 0) {
callback(null, obj);
} else {
- callback({ ret: data.ret, msg: url + ' returns:\n' + data +'\n parms:'+ JSON.stringify(params) });
+ callback({ ret: obj.ret, msg: url + ' returns:\n' + data +'\n parms:'+ JSON.stringify(params) });
}
} else {
callback(null, data);

0 comments on commit bf49711

Please sign in to comment.