From 31c4b063bb25b44f126e6a99ae8c93129812f1b5 Mon Sep 17 00:00:00 2001 From: Majo1996 Date: Fri, 16 Jun 2017 13:40:48 +0200 Subject: [PATCH] Update games_game.js Comment contained wrong text --- api/controllers/games_game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}