mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
Project managers, board members, auto-update after reconnection, refactoring
This commit is contained in:
9
server/api/helpers/users/get-admin-ids.js
Normal file
9
server/api/helpers/users/get-admin-ids.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
async fn() {
|
||||
const users = await sails.helpers.users.getMany({
|
||||
isAdmin: true,
|
||||
});
|
||||
|
||||
return sails.helpers.utils.mapRecords(users);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user