Fix board deletion, update dependencies. Closes #146

This commit is contained in:
Maksim Eltyshev
2021-08-02 17:23:56 +05:00
parent b39119ace4
commit 1a5c0f53f8
9 changed files with 815 additions and 601 deletions

View File

@@ -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);