mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 01:12:02 +03:00
Prepare for collection board type, refactoring, update dependencies
This commit is contained in:
@@ -9,7 +9,6 @@ module.exports = {
|
||||
|
||||
async fn(inputs, exits) {
|
||||
const cardLabels = await sails.helpers.getCardLabelsForCard(inputs.id);
|
||||
|
||||
const labelIds = sails.helpers.mapRecords(cardLabels, 'labelId', _.isArray(inputs.id));
|
||||
|
||||
return exits.success(labelIds);
|
||||
|
||||
Reference in New Issue
Block a user