Commit 44e919b5 authored by Sonja Happ's avatar Sonja Happ
Browse files

AMQP: move logmessage for sending actions

parent cbd71b90
......@@ -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,
......
Supports Markdown
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