Browse Source

Fehler mit dosth in Zeil 169 behoben, hoffentlich

test
Klaus Wendel 2 years ago
parent
commit
dc9b5a79d8
  1. 2
      nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

2
nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

@ -166,7 +166,7 @@ func WsjsonReceive(ctx context.Context, conn *websocket.Conn, dosth func(interfa
return
}
if dosth != nil {
sendval = dosth(receiveval).(GosmContainer)
sendval = dosth(receiveval)
} else {
sendval = "" //It doesn't make sense to return unprocess receiveval
}

Loading…
Cancel
Save