AMQP: move logmessage for sending actions

This commit is contained in:
Sonja Happ 2021-01-18 17:18:42 +01:00
parent cbd71b90bf
commit 44e919b5af

View file

@ -282,7 +282,6 @@ func sendActionToIC(c *gin.Context) {
}
//now := time.Now()
log.Println("AMQP: Sending actions:", actions)
for _, action := range actions {
/*if action.When == 0 {
@ -312,6 +311,7 @@ func sendActionToIC(c *gin.Context) {
return
}
}
log.Println("AMQP: Sending actions:", actions)
c.JSON(http.StatusOK, gin.H{
"success": true,