Compare commits

..

No commits in common. "449dfeca8c4cb337b163da9ace17398f97125e49" and "d5a169bae387e4ea0b9b905feb49ff79e202cda6" have entirely different histories.

2 changed files with 6 additions and 0 deletions

BIN
main

Binary file not shown.

View File

@ -45,6 +45,8 @@ func SendMessage(today string, nextDay string) {
var todayRepresentation []Representation
var nextDayRepresentation []Representation
log.Println(today)
if today != "-" {
representation, err := Base64DecodeAndUnmarshal(today)
@ -53,6 +55,8 @@ func SendMessage(today string, nextDay string) {
}
todayRepresentation = representation
log.Println(representation)
}
if nextDay != "-" {
@ -65,6 +69,8 @@ func SendMessage(today string, nextDay string) {
nextDayRepresentation = representation
}
log.Println(nextDayRepresentation, todayRepresentation)
if len(todayRepresentation) == 0 && len(nextDayRepresentation) == 0 {
return
}