mirror of https://gitlab.com/litecord/litecord.git
schemas: fix coerce
- run: change features_admin base to /admin/guilds
This commit is contained in:
parent
4bb3cad43e
commit
16e583179c
|
|
@ -659,6 +659,8 @@ GET_MENTIONS = {
|
|||
FEATURES = {
|
||||
'features': {
|
||||
'type': 'list', 'required': True,
|
||||
'schema': {'coerce': Feature}
|
||||
|
||||
# using Feature doesn't seem to work with a "not callable" error.
|
||||
'schema': {'coerce': lambda x: Feature(x)}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue