mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
Code formatting with prettier, change eslint config for the server
This commit is contained in:
@@ -2,15 +2,15 @@ module.exports = {
|
||||
inputs: {
|
||||
criteria: {
|
||||
type: 'json',
|
||||
required: true
|
||||
}
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
exits: {
|
||||
notFound: {}
|
||||
notFound: {},
|
||||
},
|
||||
|
||||
fn: async function(inputs, exits) {
|
||||
async fn(inputs, exits) {
|
||||
const board = await Board.findOne(inputs.criteria);
|
||||
|
||||
if (!board) {
|
||||
@@ -22,14 +22,14 @@ module.exports = {
|
||||
if (!project) {
|
||||
throw {
|
||||
notFound: {
|
||||
board
|
||||
}
|
||||
board,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
return exits.success({
|
||||
board,
|
||||
project
|
||||
project,
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user