1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 07:39:44 +02:00

feat: Events via webhook (#771)

Closes #215, closes #656
This commit is contained in:
HannesOberreiter 2024-06-06 20:22:14 +02:00 committed by GitHub
parent 4124ab17d2
commit 3779bdb053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 416 additions and 9 deletions

View file

@ -39,7 +39,7 @@ module.exports = {
async fn(inputs) {
const { currentUser } = this.req;
const { board } = await sails.helpers.cards
const { board, card } = await sails.helpers.cards
.getProjectPath(inputs.cardId)
.intercept('pathNotFound', () => Errors.CARD_NOT_FOUND);
@ -67,6 +67,7 @@ module.exports = {
cardMembership = await sails.helpers.cardMemberships.deleteOne.with({
board,
card,
record: cardMembership,
request: this.req,
});