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' export class AccountModel extends Model { @AllowNull(false) - @Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name')) @Column name: string