1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00
planka/server/api/helpers/users/get-admin-ids.js

9 lines
176 B
JavaScript

module.exports = {
async fn() {
const users = await sails.helpers.users.getMany({
isAdmin: true,
});
return sails.helpers.utils.mapRecords(users);
},
};