]> git.cworth.org Git - lmno.games/blobdiff - tictactoe/tictactoe.jsx
tictactoe: Track API change that /move event now has data named "move"
[lmno.games] / tictactoe / tictactoe.jsx
index 17c966dc9453a2ffebdb2581b7a696be9ba691b0..25c8a9f887742312c4537fca678823628be1190d 100644 (file)
@@ -102,7 +102,7 @@ class Game extends React.Component {
   }
 
   sendMove(i) {
-    return fetch_post_json("move", { square: i });
+    return fetch_post_json("move", { move: i });
   }
 
   resetState() {