aboutsummaryrefslogtreecommitdiff
path: root/pages/game.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-20 18:44:58 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-20 18:44:58 +0100
commiteed11fd96cf1458a7a91659cdf5efafbadda1b2b (patch)
treed1f6cb2b070b9296f3fa15956307ddf4689e7aa3 /pages/game.tsx
parent62a3b7fbb4ffcaa16e0b4984d5fa0e59537af146 (diff)
more event api
Diffstat (limited to 'pages/game.tsx')
-rw-r--r--pages/game.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/game.tsx b/pages/game.tsx
index aa90588..030938c 100644
--- a/pages/game.tsx
+++ b/pages/game.tsx
@@ -76,7 +76,7 @@ function VoerGame(props: {
onMove={move => {
props.io.emit("newMove", {
move: move % width + 1,
- token: cookies.load("token"),
+ token: cookies.load("token"), //TODO: get token from request
game_id: props.gameID
});
}}