박찬수

mod

Showing 1 changed file with 3 additions and 4 deletions
......@@ -77,8 +77,7 @@ try {
function Reply(eventObj,replyMsg){
replyMsg = JSON.parse(replyMsg);
console.log(replyMsg.name);
let replyMsgJSON = JSON.parse(replyMsg);
request.post(
{
......@@ -91,11 +90,11 @@ function Reply(eventObj,replyMsg){
"messages":[
{
"type":"Name",
"text":replyMsg.response[0].player.name
"text":replyMsgJSON.response[0].player.name
},
{
"type":"JSON",
"text":replyMsg
"text":replyMsgJSON
}
]
}
......