Commit eeab51df authored by nanahira's avatar nanahira

fix pure number message

parent 9015fc14
......@@ -43,7 +43,7 @@ export function adaptSession(bot: WeComBot, input: WecomEventResponse) {
switch (body.MsgType) {
case 'text':
const textBody = body as WecomChatBody;
session.content = textBody.Content;
session.content = textBody.Content.toString();
break;
case 'image':
const imageBody = body as WecomPicBody;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment