mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-01-06 21:47:36 +00:00
fix: total users and servers only show up to 50
This commit is contained in:
@@ -11,5 +11,5 @@ module.exports = async function getServers() {
|
||||
},
|
||||
})
|
||||
.then((res) => res.json())
|
||||
.then((data) => data.data.length)
|
||||
.then((data) => data.meta.pagination.total)
|
||||
}
|
||||
@@ -10,5 +10,5 @@ module.exports = async function getUsers() {
|
||||
},
|
||||
})
|
||||
.then((res) => res.json())
|
||||
.then((data) => data.data.length)
|
||||
.then((data) => data.meta.pagination.total)
|
||||
}
|
||||
Reference in New Issue
Block a user