mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 01:12:02 +03:00
12 lines
231 B
JavaScript
12 lines
231 B
JavaScript
|
|
module.exports = {
|
||
|
|
fn: async function(inputs, exits) {
|
||
|
|
const users = await sails.helpers.getUsers({
|
||
|
|
isAdmin: true
|
||
|
|
});
|
||
|
|
|
||
|
|
const userIds = sails.helpers.mapRecords(users);
|
||
|
|
|
||
|
|
return exits.success(userIds);
|
||
|
|
}
|
||
|
|
};
|