co-wechat-body
Advanced tools
Comparing version 0.1.4 to 0.1.6
@@ -15,2 +15,3 @@ 'use strict'; | ||
debug('parse wechat body...'); | ||
delete this.request.body; | ||
yield xmlParser(options).call(this, formater.call(this, next)); | ||
@@ -29,3 +30,4 @@ } | ||
} | ||
debug('parse finish, the body is: %j', this.request.body); | ||
yield next; | ||
@@ -32,0 +34,0 @@ } |
{ | ||
"name": "co-wechat-body", | ||
"version": "0.1.4", | ||
"version": "0.1.6", | ||
"description": "Wechat xml mesage body parser for koa.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5740
66