improve websocket connection according to gorrila example

This commit is contained in:
Adrian Zürcher
2025-06-22 09:03:18 +02:00
parent b29e7a97b8
commit 64ad4e8b3e
5 changed files with 163 additions and 184 deletions

View File

@@ -105,7 +105,7 @@ func (d *ArtNetDriver) Start(c *gin.Context) {
}
busPayload := models.Bus{}
if busPayload.ParsePayload(c); err != nil {
if err := busPayload.ParsePayload(c); err != nil {
return
}