Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Cédric Verstraeten
2026-07-28 11:19:15 +02:00
committed by GitHub
parent 2163a8e146
commit ba5992378e

View File

@@ -236,8 +236,9 @@ func ProcessMotion(motionCursor *packets.QueueCursor, configuration *models.Conf
// a reference square of sqrt(threshold) px (in this MOTION
// frame's pixel space) so the user can visually gauge how
// large a moving object must be before it is detected.
"pixelChangeThreshold": pixelThreshold},
"pixelChangeThreshold": pixelThreshold,
},
},
}
payload, err := models.PackageMQTTMessage(configuration, message)
if err == nil {