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

@@ -40,7 +40,7 @@ module.exports = {
.intercept('pathNotFound', () => Errors.COMMENT_ACTION_NOT_FOUND);
let { action } = path;
const { board, project } = path;
const { board, project, card } = path;
const isProjectManager = await sails.helpers.users.isProjectManager(currentUser.id, project.id);
@@ -69,6 +69,7 @@ module.exports = {
action = await sails.helpers.actions.updateOne.with({
values,
card,
board,
record: action,
request: this.req,