diff --git a/api/controllers/games_game.js b/api/controllers/games_game.js index 9aa778c..9ea7e7f 100644 --- a/api/controllers/games_game.js +++ b/api/controllers/games_game.js @@ -63,7 +63,7 @@ async function getMoves(req, res) { } /** - * Post a start board + * Post a move */ async function postMoves(req, res) { let game = await Game.findByIdAndUser(req.params.id, req.user); @@ -113,4 +113,4 @@ async function postMoves(req, res) { game: game.outputForUser(req.user._id), moves: game.outputMovesForUser(req.user._id, moves) }); -} \ No newline at end of file +}