schemas: edit SEARCH_CHANNEL

This commit is contained in:
Luna Mendes 2018-11-20 19:01:52 -03:00
parent e6cda1fa6d
commit a0a1f24c1c
1 changed files with 3 additions and 3 deletions

View File

@ -594,7 +594,7 @@ PATCH_EMOJI = {
SEARCH_CHANNEL = { SEARCH_CHANNEL = {
'content': {'type': 'string', 'minlength': 1}, 'content': {'type': 'string', 'minlength': 1, 'required': True},
'include_nsfw': {'type': 'boolean'}, 'include_nsfw': {'coerce': bool, 'default': False},
'offset': {'coerce': int} 'offset': {'coerce': int, 'default': 0}
} }