Skip to content

Commit

Permalink
fix(accounts): removed alphanumeric validation (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonstjernquist authored Sep 19, 2022
1 parent 250a41b commit f6b2d43
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/services/account/account.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Account, AccountRole, AccountType } from '@typings/Account';
import { sequelize } from '@utils/pool';
import { generateAccountNumber } from '@utils/misc';
import { timestamps } from '../timestamps.model';
import { regexAlphaNumeric } from '@shared/utils/regexes';
import { AccountEvents } from '@server/../../typings/Events';

export class AccountModel extends Model<
Expand All @@ -28,7 +27,6 @@ AccountModel.init(
accountName: {
type: DataTypes.STRING,
validate: {
is: regexAlphaNumeric,
max: 25,
min: 1,
},
Expand Down

0 comments on commit f6b2d43

Please sign in to comment.