mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
@@ -8,6 +8,10 @@ module.exports = {
|
||||
type: 'json',
|
||||
required: true,
|
||||
},
|
||||
card: {
|
||||
type: 'ref',
|
||||
required: true,
|
||||
},
|
||||
board: {
|
||||
type: 'ref',
|
||||
required: true,
|
||||
@@ -31,6 +35,15 @@ module.exports = {
|
||||
},
|
||||
inputs.request,
|
||||
);
|
||||
|
||||
await sails.helpers.utils.sendWebhook.with({
|
||||
event: 'ACTION_UPDATE',
|
||||
data: action,
|
||||
projectId: inputs.board.projectId,
|
||||
user: inputs.request.currentUser,
|
||||
card: inputs.card,
|
||||
board: inputs.board,
|
||||
});
|
||||
}
|
||||
|
||||
return action;
|
||||
|
||||
Reference in New Issue
Block a user