mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
Initial commit
This commit is contained in:
9
server/api/controllers/users/index.js
Executable file
9
server/api/controllers/users/index.js
Executable file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
fn: async function(inputs, exits) {
|
||||
const users = await sails.helpers.getUsers();
|
||||
|
||||
return exits.success({
|
||||
items: users
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user