Skip to content

Commit

Permalink
Update backend/tags/serializers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chandrasekharan M <[email protected]>
Signed-off-by: ali <[email protected]>
  • Loading branch information
muhammad-ali-e and chandrasekharan-zipstack authored Jan 23, 2025
1 parent f500d8e commit 04e45cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tags/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def validate_tags(self, value):
# Check maximum number of tags
if len(tags) > self.MAX_TAGS_ALLOWED:
raise ValidationError(
f"Maximum {self.MAX_TAGS_ALLOWED} tags allowed. "
f"You provided {len(tags)} tags."
f"Maximum '{self.MAX_TAGS_ALLOWED}' tags allowed. "
f"You provided '{len(tags)}' tags."
)

# Validate tags
Expand Down

0 comments on commit 04e45cc

Please sign in to comment.