From: Carl Worth Date: Mon, 1 Jun 2020 18:31:45 +0000 (-0700) Subject: tictactoe: Track API change that /move event now has data named "move" X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=4e9bfe84b21940998e45ad8dd79769df5dfed3ee tictactoe: Track API change that /move event now has data named "move" And no longer named "square" as we had it before. --- diff --git a/tictactoe/tictactoe.jsx b/tictactoe/tictactoe.jsx index 17c966d..25c8a9f 100644 --- a/tictactoe/tictactoe.jsx +++ b/tictactoe/tictactoe.jsx @@ -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() {