Skip to content

Commit

Permalink
Fix booking types duration vocabulary values type
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Oct 31, 2023
1 parent 34429b6 commit 8ce51e6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ def __call__(self, context):
terms = []
for item in items:
terms.append(
SimpleTerm(value=item.token, token=str(item.token), title=item.value)
SimpleTerm(
value=str(item.token),
token=str(item.token),
title=item.value,
)
)
return SimpleVocabulary(terms)

Expand Down

0 comments on commit 8ce51e6

Please sign in to comment.