add dbtool

This commit is contained in:
Jay
2018-02-21 14:14:31 +08:00
parent efbbed07ed
commit 0270978b12
4 changed files with 80 additions and 1 deletions
+3
View File
@@ -90,6 +90,9 @@ r.get('/twitch/oauth', async (c, n) => {
resolve(null)
return
}
try {
body = JSON.parse(body)
}catch (err){}
resolve(body)
})
})