nodejs-wechat
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -17,2 +17,8 @@ var util = require('./util.js'); | ||
this.incomingMessage = util.stripXmlJson(this.req.body); | ||
if (!this.incomingMessage) { | ||
var err = new Error(); | ||
err.statusCode = 500; | ||
err.message = 'req.body is not correctly parse to message object.'; | ||
this.err = err; | ||
} | ||
} | ||
@@ -19,0 +25,0 @@ Session.prototype.replyMessage = function(outgoingMessage) { |
{ | ||
"name": "nodejs-wechat", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "nodejs wrapper of wechat(weixin) api - well tested and bug-free", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha test" | ||
"test": "mocha test -R spec" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13163
276