X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Futils%2FgameStorage.js;h=0b3a7da64e350748f93f0963990b9f550a0a03e1;hp=0284763a882d24a39e02618ab7022a1f508680d5;hb=f41ce5806b989c06091a403d7e26ff3c457650c9;hpb=5f13148449c73de92993b7961c077167563b84e5 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, }