fix: total users and servers only show up to 50

This commit is contained in:
Hirzi
2024-11-01 12:04:45 +07:00
parent 314981f658
commit 6700586b17
2 changed files with 2 additions and 2 deletions

View File

@@ -11,5 +11,5 @@ module.exports = async function getServers() {
},
})
.then((res) => res.json())
.then((data) => data.data.length)
.then((data) => data.meta.pagination.total)
}

View File

@@ -10,5 +10,5 @@ module.exports = async function getUsers() {
},
})
.then((res) => res.json())
.then((data) => data.data.length)
.then((data) => data.meta.pagination.total)
}