Browse Source

gebastele

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

2
nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

@ -108,7 +108,7 @@ func (r *GosmContainer) WsCommunicator(method string, ctx context.Context, conn
return err, websocket.MessageText
case method == "receive" && len(dosth) == 1:
err, receiveval := WsjsonReceive(ctx, conn, dosth[0])
*r = receiveval.(GosmContainer)
//*r = receiveval.(GosmContainer)
return err, websocket.MessageText
default:
panic("Wrong communicator method or invalid number of dosth-functions")

Loading…
Cancel
Save