Commit 075f035b by zCaesar

edit role groupid

parent c9a62925
......@@ -13,7 +13,7 @@ function checkID(token, id, cb) {
getRole(token, (role) => {
// console.log(role)
if (role.hasOwnProperty('groupId')) {
cb(role.info.groupId)
cb(role.groupId)
}
else {
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