mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
Fix board deletion, update dependencies. Closes #146
This commit is contained in:
@@ -20,6 +20,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
async fn(inputs) {
|
||||
const { currentUser } = this.req;
|
||||
|
||||
let { board } = await sails.helpers.boards
|
||||
.getProjectPath(inputs.id)
|
||||
.intercept('pathNotFound', () => Errors.BOARD_NOT_FOUND);
|
||||
|
||||
Reference in New Issue
Block a user