Skip to content

Commit 431e18d

Browse files
committed
fix: Fix the bank account regex
1 parent eabac41 commit 431e18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lob_python/model/bank_account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class BankAccount(ModelNormal):
8484
},
8585
('signature_url',): {
8686
'regex': {
87-
'pattern': r'^https:\/\/lob-assets\.com\/(letters|postcards|bank-accounts|checks|self-mailers|cards)\/[a-z]{3,4}_[a-z0-9]{15,16}(\.pdf|_thumb_[a-z]+_[0-9]+\.png)\?(version=[a-z0-9-]*&)?expires=[0-9]{10}&signature=[a-zA-Z0-9-_]+$', # noqa: E501
87+
'pattern': r'^https:\/\/lob-assets.com\/(letters|postcards|bank-accounts|checks|self-mailers|cards)\/[a-z]{3,4}_[a-z0-9]{15,16}(''|_signature)(.pdf|_thumb_[a-z]+_[0-9]+.png|.png)\?(version=[a-z0-9]*&)expires=[0-9]{10}&signature=[a-zA-Z0-9-_]+', # noqa: E501
8888
},
8989
},
9090
}

0 commit comments

Comments
 (0)