add dbtool

This commit is contained in:
root committed 2018-02-21 14:14:31 +08:00
1 parent efbbed07ed
commit 0270978b12
4 files changed
+80 -1

No files matched your search

+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)
})
})