Fix Enum conversion for ATH and ATL strings
This commit is contained in:
@@ -32,5 +32,9 @@ class AlertType(Enum):
|
||||
return AlertType.YEARLY_HIGH
|
||||
case "Yearly Low":
|
||||
return AlertType.YEARLY_LOW
|
||||
case "All Time High":
|
||||
return AlertType.ALL_TIME_HIGH
|
||||
case "All Time Low":
|
||||
return AlertType.ALL_TIME_LOW
|
||||
case _:
|
||||
return AlertType.SPECIFIC_PRICE
|
||||
Reference in New Issue
Block a user