Skip to content

Commit

Permalink
Fix regular expresion for issue collection
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Oct 31, 2024
1 parent 9a1b084 commit b57858f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/nftCollections/models/IssueCollectionArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class IssueCollectionArgs {
@MaxLength(10, {
message: 'The token ticker should have at most 10 caracters',
})
@Matches(RegExp('^[A-Z][A-Z0-9]{2,9}$'), {
@Matches(RegExp('^[A-Z0-9]{2,9}$'), {
message: 'The token ticker should have only alphanumeric UPPERCASE characters',
})
tokenTicker: string;
Expand Down

0 comments on commit b57858f

Please sign in to comment.