mirror of
https://github.com/plankanban/planka.git
synced 2025-12-16 09:13:18 +03:00
Add username to user
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const Errors = {
|
||||
LIST_NOT_FOUND: {
|
||||
notFound: 'List is not found',
|
||||
listNotFound: 'List not found',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
exits: {
|
||||
notFound: {
|
||||
listNotFound: {
|
||||
responseType: 'notFound',
|
||||
},
|
||||
},
|
||||
@@ -31,7 +31,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;
|
||||
|
||||
Reference in New Issue
Block a user