diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/account/account.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 493068127..c85d12824 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -48,7 +48,6 @@ import { UserModel } from './user' | |||
48 | export class AccountModel extends Model<AccountModel> { | 48 | export class AccountModel extends Model<AccountModel> { |
49 | 49 | ||
50 | @AllowNull(false) | 50 | @AllowNull(false) |
51 | @Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name')) | ||
52 | @Column | 51 | @Column |
53 | name: string | 52 | name: string |
54 | 53 | ||