This commit is contained in:
Gregory Salaun 2023-12-17 21:10:51 +07:00
parent 9bc2bfca04
commit 48db0250da

View File

@ -59,7 +59,7 @@ func main() {
// os.Setenv("radarr_eventtype", "Download")
// os.Setenv("EventType", "Test")
if os.Getenv("EventType") == "Test" {
if os.Getenv("radarr_eventtype") == "Test" {
log.Println("Radarr/Sonarr is testing the script and it works")
os.Exit(0)
}