Skip to content

Commit f6b2d43

Browse files
fix(accounts): removed alphanumeric validation (#95)
1 parent 250a41b commit f6b2d43

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/server/services/account/account.model.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { Account, AccountRole, AccountType } from '@typings/Account';
55
import { sequelize } from '@utils/pool';
66
import { generateAccountNumber } from '@utils/misc';
77
import { timestamps } from '../timestamps.model';
8-
import { regexAlphaNumeric } from '@shared/utils/regexes';
98
import { AccountEvents } from '@server/../../typings/Events';
109

1110
export class AccountModel extends Model<
@@ -28,7 +27,6 @@ AccountModel.init(
2827
accountName: {
2928
type: DataTypes.STRING,
3029
validate: {
31-
is: regexAlphaNumeric,
3230
max: 25,
3331
min: 1,
3432
},

0 commit comments

Comments
 (0)