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
38 changed files with 416 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ module.exports = {
async fn(inputs, exits) {
const { currentUser } = this.req;
const { card } = await sails.helpers.cards
const { card, board } = await sails.helpers.cards
.getProjectPath(inputs.cardId)
.intercept('pathNotFound', () => Errors.CARD_NOT_FOUND);
@@ -88,6 +88,7 @@ module.exports = {
card,
creatorUser: currentUser,
},
board,
requestId: inputs.requestId,
request: this.req,
});