Compare commits
No commits in common. "449dfeca8c4cb337b163da9ace17398f97125e49" and "d5a169bae387e4ea0b9b905feb49ff79e202cda6" have entirely different histories.
449dfeca8c
...
d5a169bae3
|
@ -45,6 +45,8 @@ func SendMessage(today string, nextDay string) {
|
||||||
var todayRepresentation []Representation
|
var todayRepresentation []Representation
|
||||||
var nextDayRepresentation []Representation
|
var nextDayRepresentation []Representation
|
||||||
|
|
||||||
|
log.Println(today)
|
||||||
|
|
||||||
if today != "-" {
|
if today != "-" {
|
||||||
representation, err := Base64DecodeAndUnmarshal(today)
|
representation, err := Base64DecodeAndUnmarshal(today)
|
||||||
|
|
||||||
|
@ -53,6 +55,8 @@ func SendMessage(today string, nextDay string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
todayRepresentation = representation
|
todayRepresentation = representation
|
||||||
|
|
||||||
|
log.Println(representation)
|
||||||
}
|
}
|
||||||
|
|
||||||
if nextDay != "-" {
|
if nextDay != "-" {
|
||||||
|
@ -65,6 +69,8 @@ func SendMessage(today string, nextDay string) {
|
||||||
nextDayRepresentation = representation
|
nextDayRepresentation = representation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Println(nextDayRepresentation, todayRepresentation)
|
||||||
|
|
||||||
if len(todayRepresentation) == 0 && len(nextDayRepresentation) == 0 {
|
if len(todayRepresentation) == 0 && len(nextDayRepresentation) == 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue