Merge branch 'patch-1' into 'master'

Add embed object type field

See merge request litecord/litecord!63
This commit is contained in:
Luna 2020-05-13 13:45:10 +00:00
commit 0876c74575
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ EMBED_FIELD = {
}
EMBED_OBJECT = {
"type": {"type": "string", "minlength": 1, "maxlength": 256, "required": False},
"title": {"type": "string", "minlength": 1, "maxlength": 256, "required": False},
# NOTE: type set by us
"description": {