Commit 98aeda43 by Chavee Issariyapat

Merge branch 'alpha-test' of https://dev.nexpie.com/stack/vernemq into alpha-test

parents c1ff444e 075f035b
...@@ -13,7 +13,7 @@ function checkID(token, id, cb) { ...@@ -13,7 +13,7 @@ function checkID(token, id, cb) {
getRole(token, (role) => { getRole(token, (role) => {
// console.log(role) // console.log(role)
if (role.hasOwnProperty('groupId')) { if (role.hasOwnProperty('groupId')) {
cb(role.info.groupId) cb(role.groupId)
} }
else { else {
doDB(id, (groupId) => { doDB(id, (groupId) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment