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,20 +2,20 @@ module.exports = {
|
||||
inputs: {
|
||||
id: {
|
||||
type: 'string',
|
||||
required: true
|
||||
required: true,
|
||||
},
|
||||
userId: {
|
||||
type: 'string',
|
||||
required: true
|
||||
}
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
fn: async function(inputs, exits) {
|
||||
async fn(inputs, exits) {
|
||||
const projectMembership = await ProjectMembership.findOne({
|
||||
projectId: inputs.id,
|
||||
userId: inputs.userId
|
||||
userId: inputs.userId,
|
||||
});
|
||||
|
||||
return exits.success(!!projectMembership);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user