Commit 40b7554d authored by Nico Baruna Putra's avatar Nico Baruna Putra

version 1.2.1

parent f424c295
......@@ -74,13 +74,14 @@ func checkApi() {
fmt.Print(err.Error())
sendMail("API not response")
//os.Exit(1)
} else if response.StatusCode != 200 {
} else if response.StatusCode == 200 {
//sendMail("API not response")
} else {
fmt.Println("ERROR NIH BOS!, API Tidak MERESPONS, STATUSNYA : ")
fmt.Println(response.StatusCode)
Native()
//sendMail("API not response")
} else {
fmt.Println("MASIH AMAN BOS!")
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment