Skip to content

Commit 76472ed

Browse files
committed
Disable 2nd dose post until fixing issue with 2nd and booster data
1 parent d44605f commit 76472ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ func transformData(res []byte) {
9292
sort.Slice(percentage2ndDose, func(i, j int) bool { return percentage2ndDose[i] < percentage2ndDose[j] })
9393
// get last item
9494
latest1stDose := percentage1stDose[len(percentage1stDose)-1]
95-
latest2ndDose := percentage2ndDose[len(percentage2ndDose)-1]
95+
// latest2ndDose := percentage2ndDose[len(percentage2ndDose)-1]
9696

9797
// stringToTweet := ""
9898
// stringToTweet += client.AddDataToTweet(latest1stDose, "1st dose of vaccine progress in Greece: \n\n")
9999
// stringToTweet += client.AddDataToTweet(latest2ndDose, "2nd dose of vaccine progress in Greece: \n\n")
100100
stringToTweetGR := ""
101101
stringToTweetGR += client.AddDataToTweet(latest1stDose, "Ποσοστό ατόμων με 1η δόση εμβολίου: \n\n")
102-
stringToTweetGR += client.AddDataToTweet(latest2ndDose, "Ποσοστό ατόμων με 2η δόση εμβολίου: \n\n")
102+
// stringToTweetGR += client.AddDataToTweet(latest2ndDose, "Ποσοστό ατόμων με 2η δόση εμβολίου: \n\n")
103103
// client.SourceAndSendTweet(stringToTweet, "en")
104104
client.SourceAndSendTweet(stringToTweetGR, "gr")
105105
}

0 commit comments

Comments
 (0)