migrate permissions and admin flag to user.role

This commit is contained in:
Girish Ramakrishnan
2020-02-21 12:17:06 -08:00
parent a8f1b0241e
commit 0e156b9376
27 changed files with 245 additions and 254 deletions

View File

@@ -122,7 +122,7 @@ function checkAppUpdates(callback) {
if (notificationPending.length === 0) return callback();
users.getAllAdmins(function (error, admins) {
users.getAdmins(function (error, admins) {
if (error) {
console.error(error);
return callback();