mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 09:13:21 +03:00
feat: Webhooks configuration, all events support, refactoring
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = {
|
||||
|
||||
const { project, projectManager } = await sails.helpers.projects.createOne.with({
|
||||
values,
|
||||
user: currentUser,
|
||||
actorUser: currentUser,
|
||||
request: this.req,
|
||||
});
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ module.exports = {
|
||||
|
||||
project = await sails.helpers.projects.deleteOne.with({
|
||||
record: project,
|
||||
actorUser: currentUser,
|
||||
request: this.req,
|
||||
});
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ module.exports = {
|
||||
values: {
|
||||
backgroundImage: fileData,
|
||||
},
|
||||
actorUser: currentUser,
|
||||
request: this.req,
|
||||
});
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ module.exports = {
|
||||
project = await sails.helpers.projects.updateOne.with({
|
||||
values,
|
||||
record: project,
|
||||
actorUser: currentUser,
|
||||
request: this.req,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user