mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 05:39:43 +02:00
Add username to user
This commit is contained in:
parent
ec222a5e32
commit
af00e3e191
143 changed files with 1051 additions and 420 deletions
|
@ -1,6 +1,6 @@
|
|||
const Errors = {
|
||||
COMMENT_ACTION_NOT_FOUND: {
|
||||
notFound: 'Comment action is not found',
|
||||
commentActionNotFound: 'Comment action not found',
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
exits: {
|
||||
notFound: {
|
||||
commentActionNotFound: {
|
||||
responseType: 'notFound',
|
||||
},
|
||||
},
|
||||
|
@ -33,7 +33,7 @@ module.exports = {
|
|||
|
||||
const actionToProjectPath = await sails.helpers
|
||||
.getActionToProjectPath(criteria)
|
||||
.intercept('notFound', () => Errors.COMMENT_ACTION_NOT_FOUND);
|
||||
.intercept('pathNotFound', () => Errors.COMMENT_ACTION_NOT_FOUND);
|
||||
|
||||
let { action } = actionToProjectPath;
|
||||
const { board, project } = actionToProjectPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue