mirror of https://gitlab.com/litecord/litecord.git
schemas: fix regression on REGISTER_WITH_INVITE
regression added in 8f2ad0f33d
This commit is contained in:
parent
a36ea4a117
commit
969b6b80ae
|
|
@ -162,8 +162,9 @@ REGISTER = {
|
|||
'password': {'type': 'string', 'minlength': 5, 'required': True}
|
||||
}
|
||||
|
||||
# only used by us, not discord, hence 'invcode' (to separate from discord)
|
||||
REGISTER_WITH_INVITE = {**REGISTER, **{
|
||||
'invite': {'type': 'string', 'required': True}
|
||||
'invcode': {'type': 'string', 'required': True}
|
||||
}}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue