diff --git a/cmd/txqr-tester/app/start_qr.go b/cmd/txqr-tester/app/start_qr.go index 210fa7e..90e0cc2 100644 --- a/cmd/txqr-tester/app/start_qr.go +++ b/cmd/txqr-tester/app/start_qr.go @@ -11,7 +11,7 @@ import ( // StartQR renders the QR code with information needed to start // a new testing from smartphone. func (a *App) StartQR() vecty.ComponentOrHTML { - img, err := qr.Encode("test", 500, qr.Medium) + img, err := qr.Encode(a.wsAddress, 500, qr.Medium) if err != nil { // TODO(divan): display the error nicely (why this can even happen?) return elem.Div(vecty.Text(fmt.Sprintf("qr error: %v", err)))