mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-17 05:11:15 +00:00
chore: clarify deprecation message
This commit is contained in:
@@ -49,7 +49,7 @@ class Webhook(RPCHandler):
|
|||||||
if msg["type"].value in whconfig:
|
if msg["type"].value in whconfig:
|
||||||
# Explicit types should have priority
|
# Explicit types should have priority
|
||||||
valuedict = whconfig.get(msg["type"].value)
|
valuedict = whconfig.get(msg["type"].value)
|
||||||
# Deprecated 2022.10 - only keep generic method.
|
# The below is deprecated 2022.10 - only keep generic method.
|
||||||
elif msg["type"] in [RPCMessageType.ENTRY]:
|
elif msg["type"] in [RPCMessageType.ENTRY]:
|
||||||
valuedict = whconfig.get("webhookentry")
|
valuedict = whconfig.get("webhookentry")
|
||||||
elif msg["type"] in [RPCMessageType.ENTRY_CANCEL]:
|
elif msg["type"] in [RPCMessageType.ENTRY_CANCEL]:
|
||||||
|
|||||||
Reference in New Issue
Block a user