X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Futils%2FgameStorage.js;h=0b3a7da64e350748f93f0963990b9f550a0a03e1;hb=f41ce5806b989c06091a403d7e26ff3c457650c9;hp=0284763a882d24a39e02618ab7022a1f508680d5;hpb=3d55deea9a2011c38d8d0067bd57fc889958bec2;p=vchess.git diff --git a/client/src/utils/gameStorage.js b/client/src/utils/gameStorage.js index 0284763a..0b3a7da6 100644 --- a/client/src/utils/gameStorage.js +++ b/client/src/utils/gameStorage.js @@ -79,8 +79,7 @@ export const GameStorage = gid: gameId, newObj: { - // TODO: I think stringify isn't requuired here (see ajax() ) - move: JSON.stringify(obj.move), //may be undefined... + move: obj.move, //may be undefined... fen: obj.fen, score: obj.score, }