Fixed bad p+arameter name.
This commit is contained in:
parent
e4270f4f3b
commit
aa9b7de1f4
|
@ -8,7 +8,7 @@ playerApi.get(
|
||||||
'/count',
|
'/count',
|
||||||
(req, res) => {
|
(req, res) => {
|
||||||
Player.count({}).then(
|
Player.count({}).then(
|
||||||
count => {
|
playerAmount => {
|
||||||
res.json({
|
res.json({
|
||||||
success: true,
|
success: true,
|
||||||
response: playerAmount
|
response: playerAmount
|
||||||
|
|
Loading…
Reference in New Issue
Block a user