Fix account names validation
This commit is contained in:
parent
d6aaab28f7
commit
98418afe2d
|
@ -48,7 +48,6 @@ import { UserModel } from './user'
|
|||
export class AccountModel extends Model<AccountModel> {
|
||||
|
||||
@AllowNull(false)
|
||||
@Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name'))
|
||||
@Column
|
||||
name: string
|
||||
|
||||
|
|
Loading…
Reference in New Issue