From aa9b7de1f424c0ca83ef129afe76ec9ed235bbe3 Mon Sep 17 00:00:00 2001 From: BurnyLlama Date: Mon, 11 Oct 2021 20:22:22 +0200 Subject: [PATCH] Fixed bad p+arameter name. --- api/players.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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