Skip to content

Commit c45f077

Browse files
chore: 🤖 add lower case in asset ID regex
1 parent 9a44323 commit c45f077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/common/decorators/validation.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function IsTicker(validationOptions?: ValidationOptions) {
4242
);
4343
}
4444

45-
const assetIdRegex = /0x[0-9A-F]{32}/;
45+
const assetIdRegex = /0x[0-9a-fA-F]{32}/;
4646
export const isAssetId = (id: string): boolean => {
4747
return assetIdRegex.test(id);
4848
};

0 commit comments

Comments
 (0)