mirror of
https://github.com/plankanban/planka.git
synced 2025-12-16 17:23:21 +03:00
Fix board deletion, update dependencies. Closes #146
This commit is contained in:
@@ -10,6 +10,10 @@ module.exports = {
|
||||
},
|
||||
|
||||
async fn(inputs) {
|
||||
await BoardMembership.destroy({
|
||||
boardId: inputs.record.id,
|
||||
}).fetch();
|
||||
|
||||
const board = await Board.archiveOne(inputs.record.id);
|
||||
|
||||
if (board) {
|
||||
|
||||
Reference in New Issue
Block a user