Browse Source

Increase max length for comment label reasons

Previously this was defaulting to a max of 200 chars, which is quite
short.
merge-requests/51/head
Deimos 6 years ago
parent
commit
27362c46bd
  1. 2
      tildes/tildes/schemas/comment.py

2
tildes/tildes/schemas/comment.py

@ -25,7 +25,7 @@ class CommentLabelSchema(Schema):
"""Marshmallow schema for comment labels."""
name = Enum(CommentLabelOption)
reason = SimpleString(missing=None)
reason = SimpleString(max_length=1000, missing=None)
class Meta:
"""Always use strict checking so error handlers are invoked."""

Loading…
Cancel
Save