Commit a0a1f24c authored by Luna's avatar Luna 📟

schemas: edit SEARCH_CHANNEL

parent e6cda1fa
......@@ -594,7 +594,7 @@ PATCH_EMOJI = {
SEARCH_CHANNEL = {
'content': {'type': 'string', 'minlength': 1},
'include_nsfw': {'type': 'boolean'},
'offset': {'coerce': int}
'content': {'type': 'string', 'minlength': 1, 'required': True},
'include_nsfw': {'coerce': bool, 'default': False},
'offset': {'coerce': int, 'default': 0}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment