mirror of https://gitlab.com/litecord/litecord.git
schemas: update invite
This commit is contained in:
parent
67785920bb
commit
9273d8cbda
|
|
@ -430,7 +430,7 @@ INVITE = {
|
|||
"max_age": {
|
||||
"type": "number",
|
||||
"min": 0,
|
||||
"max": 86400,
|
||||
"max": 666666, # TODO find correct max value
|
||||
# a day
|
||||
"default": 86400,
|
||||
},
|
||||
|
|
@ -451,6 +451,7 @@ INVITE = {
|
|||
"nullable": True,
|
||||
}, # discord client sends invite code there
|
||||
# sent by official client, unknown purpose
|
||||
"target_type": {"type": "string", "required": False, "nullable": True},
|
||||
"target_user_id": {"type": "snowflake", "required": False, "nullable": True},
|
||||
"target_user_type": {"type": "number", "required": False, "nullable": True},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue