err check

v1.18.x
barisusakli 10 years ago
parent 283ac1578f
commit 5c7487c13b

@ -97,7 +97,7 @@ module.exports = function(privileges) {
uid: uid,
tids: tids
}, function(err, data) {
callback(null, data.tids);
callback(err, data ? data.tids : null);
});
});
});

Loading…
Cancel
Save