mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
fix tests, change to get call
This commit is contained in:
parent
a993cb512d
commit
106ac2ab4d
|
@ -181,7 +181,7 @@ class ExternalMessageConsumer:
|
|||
host, port = producer['host'], producer['port']
|
||||
token = producer['ws_token']
|
||||
name = producer['name']
|
||||
scheme = 'wss' if producer['secure'] else 'ws'
|
||||
scheme = 'wss' if producer.get('secure', False) else 'ws'
|
||||
ws_url = f"{scheme}://{host}:{port}/api/v1/message/ws?token={token}"
|
||||
|
||||
# This will raise InvalidURI if the url is bad
|
||||
|
|
Loading…
Reference in New Issue
Block a user