mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
parent
c0b694039e
commit
193daf6cfb
38 changed files with 416 additions and 9 deletions
|
@ -36,7 +36,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);
|
||||
|
||||
|
@ -61,6 +61,7 @@ module.exports = {
|
|||
|
||||
action = await sails.helpers.actions.deleteOne.with({
|
||||
board,
|
||||
card,
|
||||
record: action,
|
||||
request: this.req,
|
||||
});
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue