Skip to content

Commit 00befea

Browse files
authored
Merge pull request #12 from nnnLik/bugfix/lenght-of-website-kind
- Increased the maximum length for the 'kind' field from 20 to 50 characters to accommodate a wider range of values. - Ensured consistency with the sanitization method for improved data handling.
2 parents eb5cc64 + 519c116 commit 00befea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admitad/items/websites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class WebsitesManageV2(Item):
218218

219219
CREATE_FIELDS = {
220220
'name': lambda x: Item.sanitize_string_value(x, 'name', max_length=200),
221-
'kind': lambda x: Item.sanitize_string_value(x, 'kind', max_length=20),
221+
'kind': lambda x: Item.sanitize_string_value(x, 'kind', max_length=50),
222222
'url': lambda x: Item.sanitize_string_value(x, 'url', max_length=255),
223223
'category': lambda x: Item.sanitize_integer_array(x, 'category'),
224224
'region': lambda x: Item.sanitize_string_array(x, 'region'),

0 commit comments

Comments
 (0)