Skip to content

Commit

Permalink
Fix crash when no validations are set
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Dec 12, 2023
1 parent c184b55 commit bd1e2d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _attribute(attribute_name):
self._custom_field_id = field_data.get("custom_field_id")
self._label = field_data.get("label")
self._validations = field_data.get(
"validations"
"validations", []
) # No need to expose the available validations

@property
Expand Down

0 comments on commit bd1e2d0

Please sign in to comment.