Skip to content

Commit

Permalink
Merge pull request #1086 from multiversx/Remove-collection-constraints
Browse files Browse the repository at this point in the history
Fix regular expresion for issue collection
  • Loading branch information
danielailie authored Oct 31, 2024
2 parents 9a1b084 + b57858f commit f56f248
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 f56f248

Please sign in to comment.