From b57858f6c88ce292765f437f08ccf152296813c9 Mon Sep 17 00:00:00 2001 From: danielailie Date: Thu, 31 Oct 2024 14:30:07 +0200 Subject: [PATCH] Fix regular expresion for issue collection --- src/modules/nftCollections/models/IssueCollectionArgs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/nftCollections/models/IssueCollectionArgs.ts b/src/modules/nftCollections/models/IssueCollectionArgs.ts index ccc6bc914..07ba82187 100644 --- a/src/modules/nftCollections/models/IssueCollectionArgs.ts +++ b/src/modules/nftCollections/models/IssueCollectionArgs.ts @@ -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;