schemas: fix regression on REGISTER_WITH_INVITE

regression added in 8f2ad0f33d
This commit is contained in:
Luna 2018-12-02 22:55:58 -03:00
parent a36ea4a117
commit 969b6b80ae
1 changed files with 2 additions and 1 deletions

View File

@ -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}
}}