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