Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
Co-authored-by: Xander Vertegaal <[email protected]>
  • Loading branch information
lukavdplas and XanderVertegaal authored Mar 8, 2024
1 parent 005d674 commit 35b5263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/space/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ def validate_level_deeper_than_parent(level, parent, options: IntegerChoices):
level_label = get_label(level, options)
parent_level_label = get_label(parent.level, options)
raise ValidationError(
f"cannot add a structure of level {level} ({level_label}) as a child to a structure of level {parent.level} ({parent_level_label})"
f"Cannot add a structure of level {level} ({level_label}) as a child to a structure of level {parent.level} ({parent_level_label})"
)

0 comments on commit 35b5263

Please sign in to comment.