make `name` option required again

This commit is contained in:
hroff-1902 2019-04-08 11:19:45 +03:00
parent 4559a38172
commit cb2f422e1c
1 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ CONF_SCHEMA = {
'exchange': { 'exchange': {
'type': 'object', 'type': 'object',
'properties': { 'properties': {
'name': {'type': 'string', 'default': 'bittrex'}, 'name': {'type': 'string'},
'sandbox': {'type': 'boolean', 'default': False}, 'sandbox': {'type': 'boolean', 'default': False},
'key': {'type': 'string', 'default': ''}, 'key': {'type': 'string', 'default': ''},
'secret': {'type': 'string', 'default': ''}, 'secret': {'type': 'string', 'default': ''},
@ -199,7 +199,7 @@ CONF_SCHEMA = {
'ccxt_config': {'type': 'object'}, 'ccxt_config': {'type': 'object'},
'ccxt_async_config': {'type': 'object'} 'ccxt_async_config': {'type': 'object'}
}, },
'required': ['pair_whitelist'] 'required': ['name', 'pair_whitelist']
}, },
'edge': { 'edge': {
'type': 'object', 'type': 'object',