mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 13:49: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 = {
|
||||
LIST_NOT_FOUND: {
|
||||
notFound: 'List is not found',
|
||||
listNotFound: 'List not found',
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
exits: {
|
||||
notFound: {
|
||||
listNotFound: {
|
||||
responseType: 'notFound',
|
||||
},
|
||||
},
|
||||
|
@ -24,7 +24,7 @@ module.exports = {
|
|||
|
||||
const listToProjectPath = await sails.helpers
|
||||
.getListToProjectPath(inputs.id)
|
||||
.intercept('notFound', () => Errors.LIST_NOT_FOUND);
|
||||
.intercept('pathNotFound', () => Errors.LIST_NOT_FOUND);
|
||||
|
||||
let { list } = listToProjectPath;
|
||||
const { project } = listToProjectPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue