diff --git a/api/players.js b/api/players.js index 5f8019e..8b4ccca 100644 --- a/api/players.js +++ b/api/players.js @@ -8,7 +8,7 @@ playerApi.get( '/count', (req, res) => { Player.count({}).then( - count => { + playerAmount => { res.json({ success: true, response: playerAmount