Skip to content

Commit

Permalink
fix: total users and servers only show up to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
HirziDevs committed Nov 1, 2024
1 parent 314981f commit 6700586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/getServers.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ module.exports = async function getServers() {
},
})
.then((res) => res.json())
.then((data) => data.data.length)
.then((data) => data.meta.pagination.total)
}
2 changes: 1 addition & 1 deletion handlers/getUsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ module.exports = async function getUsers() {
},
})
.then((res) => res.json())
.then((data) => data.data.length)
.then((data) => data.meta.pagination.total)
}

0 comments on commit 6700586

Please sign in to comment.