Skip to content

Commit bb027f8

Browse files
committed
fixes validation
1 parent fa7f60b commit bb027f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lob_python/model/letter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ class Letter(ModelNormal):
9797
}
9898

9999
validations = {
100-
('file_template_id',): {
100+
('template_id',): {
101101
'regex': {
102102
'pattern': r'^tmpl_[a-zA-Z0-9]+$', # noqa: E501
103103
},
104104
},
105-
('file_template_version_id',): {
105+
('template_version_id',): {
106106
'regex': {
107107
'pattern': r'^vrsn_[a-zA-Z0-9]+$', # noqa: E501
108108
},

0 commit comments

Comments
 (0)