권은령

fixing error...

Showing 1 changed file with 2 additions and 2 deletions
......@@ -143,8 +143,7 @@ function handleEvent(event)
return;
}
});
});
return new Promise(function(resolve, reject)
{
var result = { type: 'text', text:''};
......@@ -156,6 +155,7 @@ function handleEvent(event)
console.log(result.text);
client.replyMessage(event.replyToken, result).then(resolve).catch(reject);
});
});
}
else
{
......