mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 01:11:23 +03:00
Add username to user
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const Errors = {
|
||||
USER_NOT_FOUND: {
|
||||
notFound: 'User is not found',
|
||||
userNotFound: 'User not found',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -20,12 +20,12 @@ module.exports = {
|
||||
},
|
||||
avatar: {
|
||||
type: 'json',
|
||||
custom: value => _.isNull(value),
|
||||
custom: (value) => _.isNull(value),
|
||||
},
|
||||
},
|
||||
|
||||
exits: {
|
||||
notFound: {
|
||||
userNotFound: {
|
||||
responseType: 'notFound',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user