improve websocket connection according to gorrila example
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user