add console.log

This commit is contained in:
Jay
2018-08-28 23:39:21 +08:00
parent ad45231d8d
commit 1b62131e6b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ const saveToLog = async (source, text = '') => {
let data = null
if (user.rowCount === 0) {
data = api.line.getUserInfo(groupId, userId)
console.log('user data ::::: ', data)
if (data === null) {
db.release()
return null