fix: per_page not perPage in Zod schemas — raw serde_json keys are snake_case
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m36s
test / unit (pull_request) Successful in 17m6s
test / integration (pull_request) Failing after 17m0s

This commit is contained in:
2026-05-14 17:32:39 +02:00
parent b95cebc799
commit 7cb6b94b08
2 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ export default async function AllUsersPage({
);
}
const { items, total, perPage } = usersData;
const { items, total, per_page } = usersData;\n const perPage = per_page;
const totalPages = Math.ceil(total / perPage);
return (