fix(frontend): align Zod schemas with camelCase API responses
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled

per_page → perPage in paginated response schemas, drop tag field from tag endpoint
This commit is contained in:
2026-05-29 12:15:07 +02:00
parent 9798a1d829
commit 6abd2e7aad
4 changed files with 11 additions and 11 deletions

View File

@@ -22,8 +22,8 @@ export default async function AllUsersPage({
);
}
const { items, total, per_page } = usersData;
const totalPages = Math.ceil(total / per_page);
const { items, total, perPage } = usersData;
const totalPages = Math.ceil(total / perPage);
return (
<div className="container mx-auto max-w-2xl p-4 sm:p-6">