mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 01:12:02 +03:00
Fix loading deleted users on actions fetch. Closes #62
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = {
|
||||
const actions = await sails.helpers.getActionsForCard(inputs.cardId, inputs.beforeId);
|
||||
|
||||
const userIds = sails.helpers.mapRecords(actions, 'userId', true);
|
||||
const users = await sails.helpers.getUsers(userIds);
|
||||
const users = await sails.helpers.getUsers(userIds, true);
|
||||
|
||||
return exits.success({
|
||||
items: actions,
|
||||
|
||||
Reference in New Issue
Block a user