mirror of https://gitlab.com/litecord/litecord.git
schemas: edit SEARCH_CHANNEL
This commit is contained in:
parent
e6cda1fa6d
commit
a0a1f24c1c
|
|
@ -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}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue