diff --git a/alert/alert.go b/alert/alert.go index d27519f..6d54d67 100644 --- a/alert/alert.go +++ b/alert/alert.go @@ -67,6 +67,11 @@ func checkPrice(alertChan chan api.Availability) { } for _, availability := range availabilities.Results { + + if availability.IsDemo { + continue + } + if availability.Price < 39000 && availability.Trim[0] == "SRRWD" { log.Info("Launching an alert !") alertChan <- availability