mirror of
https://github.com/plankanban/planka.git
synced 2025-12-16 17:23:21 +03:00
Code formatting with prettier, change eslint config for the server
This commit is contained in:
@@ -2,16 +2,16 @@ module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'json',
|
||||
custom: value => _.isString(value) || _.isArray(value),
|
||||
required: true
|
||||
}
|
||||
custom: (value) => _.isString(value) || _.isArray(value),
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
fn: async function(inputs, exits) {
|
||||
async fn(inputs, exits) {
|
||||
const cardLabels = await sails.helpers.getCardLabels({
|
||||
cardId: inputs.id
|
||||
cardId: inputs.id,
|
||||
});
|
||||
|
||||
return exits.success(cardLabels);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user