commit 61c19e9c5e8c8cfe23c5c76ab76d2ee33006c46f
parent f00200b5a50117e07fb63816fe219caa1558e89a
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Mon, 4 Dec 2023 02:07:55 -0500
no info leak
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go
@@ -820,7 +820,8 @@ func PokerHandler(c echo.Context) error {
idx++
card, deck = deck[0], deck[1:]
PokerPubSub.Pub(myTopic, PokerEvent{
- ID: "card" + strconv.Itoa(4), Name: card,
+ ID: "card" + strconv.Itoa(4),
+ Name: "",
Idx: idx,
Top: 30,
Left: 400,
@@ -850,7 +851,8 @@ func PokerHandler(c echo.Context) error {
idx++
card, deck = deck[0], deck[1:]
PokerPubSub.Pub(myTopic, PokerEvent{
- ID: "card" + strconv.Itoa(6), Name: card,
+ ID: "card" + strconv.Itoa(6),
+ Name: "",
Idx: idx,
Top: 30,
Left: 400,