docs(admin): Fix calculation of total pages using pageSize (#4233)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Sharat MR
2025-08-27 00:07:29 +05:30
committed by GitHub
parent bf43de5ea4
commit 466a23683d

View File

@@ -205,7 +205,7 @@ const users = await authClient.admin.listUsers({
}); });
const totalUsers = users.total; const totalUsers = users.total;
const totalPages = Math.ceil(totalUsers / limit) const totalPages = Math.ceil(totalUsers / pageSize)
``` ```
### Set User Role ### Set User Role