Skip to content

Commit

Permalink
fixes validation
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfriss committed Mar 11, 2024
1 parent fa7f60b commit bb027f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lob_python/model/letter.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ class Letter(ModelNormal):
}

validations = {
('file_template_id',): {
('template_id',): {
'regex': {
'pattern': r'^tmpl_[a-zA-Z0-9]+$', # noqa: E501
},
},
('file_template_version_id',): {
('template_version_id',): {
'regex': {
'pattern': r'^vrsn_[a-zA-Z0-9]+$', # noqa: E501
},
Expand Down

0 comments on commit bb027f8

Please sign in to comment.